Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

from Rats! grammar:

declarationOrStatement
  : declaration
  | statement
  ;

where declaration reaches

blockDeclaration :
  ( 'static' )? block
  ;

Can do a breadth first search after-the-fact or might be able to do
something with the rules we detected during recursion checking in
closure(). Add a simple check for left-factorability too. Showing
the ambiguity would be easy enough here to block and would be awesome!

  • No labels