[antlr-interest] My C# grammar hangs antlr

James Briant jab.antlr at species.org
Thu Dec 28 11:23:42 PST 2006


That grammar I posted was for 3.0b5, and when I run antlr, antlr hangs. :-(

This is the output I get, and then it just sits there:

ANTLR Parser Generator  Version 3.0b5 (November 15, 2006)  1989-2006
warning(200): csharp2.g:11:5: Decision can match input such as "<EOT>" using
mul
tiple alternatives: 1, 2
As a result, alternative(s) 2 were disabled for that input
warning(201): csharp2.g:11:5: The following alternatives are unreachable: 2

warning(200): csharp2.g:20:18: Decision can match input such as
"'\r''\u0000'..'
\uFFFE'" using multiple alternatives: 1, 2
As a result, alternative(s) 2 were disabled for that input

Any ideas? Thanks.

Jamie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20061228/1e79c1f1/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: csharp2.g
Type: application/octet-stream
Size: 10690 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20061228/1e79c1f1/attachment-0001.obj 


More information about the antlr-interest mailing list