[antlr-interest] RE: newbie: how to use parse rule and nested curly
Ramon V. del Rosario
wincrt at yahoo.com
Tue Jun 14 01:56:49 PDT 2005
Thanks Geir Ove!
just 1 more problem how do we create dummy root? right
now i'm adding a dummy token
to the config file for it to work.
startRule :
document : DROOT^ (acl | log | opt | WORDSTRING^)*
;
--- sample.conf ---
droot #my dummy token
acl xyz-slaves {
160.9.201.3;
};
options {
directory "/etc";
allow-transfer { xyz-slaves; localhost; };
};
__________________________________
Discover Yahoo!
Get on-the-go sports scores, stock quotes, news and more. Check it out!
http://discover.yahoo.com/mobile.html
More information about the antlr-interest
mailing list