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 4: Regex declaration are not taken into account if declared after they are used.
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  jhaber...@gmail.com
Closed:  Feb 2009


 
Reported by manu....@gmail.com, Jan 30, 2009
Consider this gzl file:

A: /a/;
hello -> "<" A ">";

It compiles and works well.
However this one:

hello -> "<" A ">";
A: /a/;

Does not compile because 'A' is not declared. I guess it is a bug because
it is not convenient and it is not written in the documentation.

Tested on : gazelle 0.4
Jan 31, 2009
Project Member #1 jhaber...@gmail.com
Thanks for the report!  This is indeed a bug.  I will fix it for the next release.
Labels: FixTarget-0.5
Jan 31, 2009
Project Member #2 jhaber...@gmail.com
(No comment was entered for this change.)
Status: Accepted
Jan 31, 2009
Project Member #3 jhaber...@gmail.com
(No comment was entered for this change.)
Owner: jhaberman
Feb 21, 2009
Project Member #4 jhaber...@gmail.com
I fixed this bug in Git:

http://github.com/haberman/gazelle/commit/e3d2566a0f805cc67b44f1f065d57eb99b9ed141

Your second grammar example now works as expected!
Status: Fixed

Powered by Google Project Hosting