Hi Olivier,

I can't reproduce it. I tested with ANTLRWorks 1.4.2 as well.
See the attached screenshot.

Regards,

Bart.


On Wed, Jun 8, 2011 at 11:23 AM, Olivier Sallou <[email protected]>wrote:

> Hi,
> I have an issue with antlrworks (1.4.2), where for a specific grammar,
> it requires a whitespace.
> I upgraded from antlrworks 1.1.7 where the same did not asked for the
> whitespace.
>
> example:
>        '?' string
>        | '%' string ':' percentage=INT
>        | ...
>
> string    : '"' LOWID '"';
> LOWID    : ('a'..'z'|'\-')+;
> INT :   ('0'..'9')+ ;
>
> If I call my example rules with:
>  ?\"acgt\"
> it works fine
> but if I call
>  %\"acgt\":30
>
> If fails.
>
> At least if I add a whitespace between % and \"acgt\", it works:
>  % \"acgt\":30
>
> I really can't understand why a whitespace is required here, and only
> here....
>
> Thanks for your help
>
> Olivier
>
>
> --
> gpg key id: 4096R/326D8438  (pgp.mit.edu)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

<<attachment: aw.png>>

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to