Advertisement
pellekrogholt

Untitled

Apr 24th, 2012
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. ANTLR Parser Generator 3.4 Jul 19, 2011 11:35:12.
  2. Using project classpath: Yes.
  3. Grammar: /Users/pelle/itu/eclipse_workspace_37_advanced_models/ituwhiletryout/src/dk/itu/ituwhile/ItuWhile.g
  4. warning(200): /ituwhiletryout/src/dk/itu/ituwhile/ItuWhile.g:63:35:
  5. Decision can match input such as "'else'" using multiple alternatives: 1, 2
  6. As a result, alternative(s) 2 were disabled for that input
  7. |---> | 'if' bexpression 'then' block ( 'else' block )?
  8.  
  9. error(211): /ituwhiletryout/src/dk/itu/ituwhile/ItuWhile.g:76:12: [fatal] rule expression has non-LL(*) decision due to recursive rule invocations reachable from alts 1,2. Resolve by left-factoring or using syntactic predicates or using backtrack=true option.
  10. |---> expression : aexpression
  11.  
  12. error(211): /ituwhiletryout/src/dk/itu/ituwhile/ItuWhile.g:92:13: [fatal] rule bexpression has non-LL(*) decision due to recursive rule invocations reachable from alts 3,4. Resolve by left-factoring or using syntactic predicates or using backtrack=true option.
  13. |---> bexpression : 'true'
  14.  
  15.  
  16. 1 warning
  17.  
  18. 2 errors
  19.  
  20. BUILD FAIL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement