From c3799d720b60bd74a60de4addcd0d77a90f7842a Mon Sep 17 00:00:00 2001 From: Ananth N Mavinakayanahalli Date: Wed, 14 May 2008 10:56:37 +0530 Subject: PR 5955 - Accept ; terminated globals --- parse.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'parse.cxx') diff --git a/parse.cxx b/parse.cxx index ea22f36d..82116009 100644 --- a/parse.cxx +++ b/parse.cxx @@ -1215,6 +1215,9 @@ parser::parse_global (vector & globals, vector&) t = peek (); } + if (t && t->type == tok_operator && t->content == ";") // termination + next(); + if (t && t->type == tok_operator && t->content == ",") // next global { next (); -- cgit