My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 7: /* style */ comment are too greedy
1 person starred this issue and may be notified of changes. Back to list
 
Reported by manu....@gmail.com, Jan 31, 2009
Consider this gzl file :

-----
/*
Comment
*/
NAME: /[A-Z] [A-Za-z0-9_]*/ ;

test -> NAME;
-----

Its compilation fails.
However, if you add a space between '*' and '/', it compiles properly.

NAME: /[A-Z] [A-Za-z0-9_]* / ;


I think that the processing of the /* */ comments is greedy, so it does not
stop on the first */


Jan 31, 2009
#1 manu....@gmail.com
It holds for gazelle 0.4
Jan 31, 2009
Project Member #2 jhaber...@gmail.com
Another good catch, will fix for 0.5.
Labels: FixTarget-0.5
Jan 31, 2009
Project Member #3 jhaber...@gmail.com
(No comment was entered for this change.)
Status: Accepted
Owner: jhaberman

Powered by Google Project Hosting