MODERATE -- eitan@cs.ucla.edu posted to antlr-interest

Yahoo!Groups Notification antlr-interest-accept-zVEfk0k4Hug1WTJx4yWQA8E at yahoogroups.com
Thu Sep 23 16:05:06 PDT 2004


Hello,

A message has been sent to the antlr-interest group from

  eitan at cs.ucla.edu 

The message summary:
--------------------
FROM: eitan at cs.ucla.edu 
DATE: Thu, 23 Sep 2004 23:05:00 -0000 
SUBJECT: check tokens for whitespace? 

Sorry if this is a newbie question but I can't seem to find 
an answer in the docs or online. 

Is there anyway to define a token as a string and to only 
have have that string recognized as a token if it is not 
followed by whitespace? 

For example if I define the Lexer as follows: class L 
extends Lexer; 

--------------------

A complete copy of this message has been attached for your convenience.

This message requires your approval for one of the following reasons:
* Your group is set to moderate all messages from this user, OR
* Your group is set to moderate messages from all users

To approve or reject this messages using the web, please visit:
http://groups.yahoo.com/group/antlr-interest/pending?view=1&msg=309 

To approve this message using email, reply to this message. You do not 
need to attach the original message, just reply and send.

To reject this message using email, forward this message to

antlr-interest-reject-zVEfk0k4Hug1WTJx4yWQA8E at yahoogroups.com 

NOTE: The pending message will expire after 14 days. If you do not 
take action within that time, the pending message will be automatically
rejected.  Yahoo! Groups does this to maintain a high quality of
service for our users.

Thank you for choosing Yahoo! Groups.

Regards,

Yahoo! Groups Customer Care

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
-------------- next part --------------
An embedded message was scrubbed...
From: "mazypath" <eitan at cs.ucla.edu>
Subject: check tokens for whitespace?
Date: Thu, 23 Sep 2004 23:05:00 -0000
Size: 1614
Url: http://www.antlr.org/pipermail/antlr-interest/attachments/20040923/0a8342ca/attachment.mht


More information about the antlr-interest mailing list