[antlr-interest] retrieving values

Mark Ryall mnr at cs.man.ac.uk
Sun Feb 10 12:43:09 PST 2002


Hi

This is part of my code where:
    s is a std::string and
    NAME is an identifier(string representation)

I want to recieve the values of the NAME and store it in a std::string!
But it doesn't work!

 :  #( STRUCTURE_DEF ( ( builtInType n1:NAME )
         {
              s = n1.get();
              pName = new RPLName( s );
              pStruct->setName( pName );
         }


Mark


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list