[antlr-interest] printf in target C grammar

gaochunguang gaochunguang at 163.com
Tue Apr 15 20:24:01 PDT 2008


IMPORT : 'import' WS name=QIDStar WS? ';'
          {
          printf("%s",$name.Text);
          };
ANTLRWorks give me [invalid StringTemplate % shorthand syntax: '%s",'] errer message. how to write? thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080416/30691389/attachment.html 


More information about the antlr-interest mailing list