# HG changeset patch # User Teemu Piippo # Date 1342402389 -10800 # Node ID ad027ea58097c1c6e98fcbc0f762a46738db54cb # Parent 6c4efed2dbdd1b446338f03e80786c35bb7754d3 Lifted the ';'-after-events rule, though it can still be present. C++ allows it for functions, so this feels like the best solution regarding consistency.. I'm not even sure am I going overboard with this kind of stuff diff -r 6c4efed2dbdd -r ad027ea58097 parser.cxx --- a/parser.cxx Mon Jul 16 04:26:27 2012 +0300 +++ b/parser.cxx Mon Jul 16 04:33:09 2012 +0300 @@ -191,7 +191,8 @@ w->Write (dataheader); g_CurMode = MODE_TOPLEVEL; - MustNext (";"); + if (!PeekNext().compare (";")) + MustNext (";"); continue; } // Check global variables