[antlr-interest] whitespace-related question..

Eitan Suez eitan.suez at gmail.com
Wed Mar 28 16:23:25 PDT 2007


  in general in my parser i like to ignore whitespace.
  however there are circumstances where i'd like
  whitespace to be significant within the context of
  a specific parser rule.

  is there a way to tell antlr to ignore the "WS" rule
  in the context of a specific rule?

  i noticed antlrworks' interpreter has such an option
  but not sure if it's part of the antlr language.

thanks, / eitan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070328/2b7d7a2d/attachment.html 

More information about the antlr-interest mailing list