Method: Crokus::Parser#parseLoopInit

Defined in:
lib/crokus/parser.rb

#parseLoopInitObject



604
605
606
607
608
609
610
# File 'lib/crokus/parser.rb', line 604

def parseLoopInit
  indent "parseLoopInit"
  ret=statement()
  dedent
  return [ret] # because for (int a,b=0;i<10;i++) is also possible.
  # then parser returns an array of Decl
end