[antlr-interest] Newbie Q: A token for "other" characters?

Loring Craymer lgcraymer at yahoo.com
Mon Aug 7 02:05:34 PDT 2006


All ANTLR tokens require rules to define them.  You need an EQUALS rule as well as the EQUALS_ESCAPE rule.

--Loring

Mark Junker <m.junker at hm-software.de> wrote: -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

in flex, I was able to pass all characters to a parser not directly
matched by a specific token. How can I achieve the same behavior with ANTLR?

BTW: I think that this would be something for the FAQ / Wiki if it's not
there yet - but I was unable to find it.

- --
Kind regards,
Mark Junker
HM-Software
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE1v8S+vrgfQU/RLsRAibwAJwJNqGy9XCz2a2IjsZ1uLUSycwy7gCglR5O
/EeHZ1NQMiMBaLplm6vUg3U=
=2l1i
-----END PGP SIGNATURE-----
begin:vcard
fn:Mark Junker
n:Junker;Mark
org:HM-Software
adr;dom:;;Rampenweg 1b;Adelheidsdorf;;29352
email;internet:m.junker at hm-software.de
tel;work:+49-5085-9894-0
tel;fax:+49-5085-9894-44
x-mozilla-html:FALSE
url:http://www.hm-software.de
version:2.1
end:vcard



 			
---------------------------------
See the all-new, redesigned Yahoo.com.  Check it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060807/ce1126bb/attachment.html


More information about the antlr-interest mailing list