Revision 595816

Go back to digest for 22nd October 2006

Features in Development Tools

Alexander Dymo committed changes in /trunk/KDE/kdevelop/languages/ruby/parser:

Greatly reduced the strictness of linebreak rules. Now we can parse correctly any amount of newlines/spaces/etc after the statement (including the last statement).

Made rules use "end" token only and do not "eat" linebreak after "end", this means we now correctly parse statements with several blocks/functions/classes/etc. that are terminated with "end"'s.

File Changes

Modified 12 files
  • /trunk/KDE/kdevelop/languages/ruby/parser
  •   /ruby.g
  •   /ruby_ast.h
  •   /ruby_default_visitor.cpp
  •   /ruby_default_visitor.h
  •   /ruby_io.cpp
  •   /ruby_lexer.cpp
  •   /ruby_lexer.ll
  •   /ruby_parser.cpp
  •   /ruby_parser.h
  •   /ruby_serialize_visitor.h
  •   /ruby_visitor.cpp
  •   /ruby_visitor.h
12 files changed in total