[antlr-interest] (newbie problem) Decision can match input such as ...using multiple alternatives: 1, 2

ali azimi aliaazimi at yahoo.com
Thu Jul 5 14:07:38 PDT 2007


Hi,
  I am facing lots of warning messages that I do not know how to deal with. Could you please help? 
   
  A sample of those warning messages is at the bottom of this page.
   
  [21:17:26] warning(200): C:\Documents and Settings\ali\Desktop\FinalProject.g:865:3: Decision can match input such as "'comment'" using multiple alternatives: 1, 2
  As a result, alternative(s) 2 were disabled for that input
  [21:17:26] warning(200): C:\Documents and Settings\ali\Desktop\FinalProject.g:865:3: Decision can match input such as "'via'" using multiple alternatives: 1, 2
  As a result, alternative(s) 2 were disabled for that input
  [21:17:26] warning(200): C:\Documents and Settings\ali\Desktop\FinalProject.g:865:3: Decision can match input such as "';'" using multiple alternatives: 1, 2
  As a result, alternative(s) 2 were disabled for that input
  [21:17:26] warning(200): C:\Documents and Settings\ali\Desktop\FinalProject.g:881:3: Decision can match input such as "{'system', 'system type'..'signal', 'service', 'substructure', 'block', 'process', 'package'}" using multiple alternatives: 1, 2
  As a result, alternative(s) 2 were disabled for that input
  [21:17:26] warning(200): C:\Documents and Settings\ali\Desktop\FinalProject.g:881:3: Decision can match input such as "'procedure'" using multiple alternatives: 1, 2
  As a result, alternative(s) 2 were disabled for that input
  [21:17:26] warning(200): C:\Documents and Settings\ali\Desktop\FinalProject.g:881:3: Decision can match input such as "'<<'" using multiple alternatives: 1, 2
  As a result, alternative(s) 2 were disabled for that input
  [21:17:26] warning(200): C:\Documents and Settings\ali\Desktop\FinalProject.g:893:17: Decision can match input such as "'"' '-' '"'" using multiple alternatives: 1, 2
  As a result, alternative(s) 2 were disabled for that input
  [21:17:26] warning(201): C:\Documents and Settings\ali\Desktop\FinalProject.g:893:17: The following alternatives are unreachable: 2
   
   

       
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070705/df05f085/attachment.html 


More information about the antlr-interest mailing list