summaryrefslogtreecommitdiffstats
path: root/parse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'parse.cxx')
-rw-r--r--parse.cxx3
1 files changed, 3 insertions, 0 deletions
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 <vardecl*>& globals, vector<probe*>&)
t = peek ();
}
+ if (t && t->type == tok_operator && t->content == ";") // termination
+ next();
+
if (t && t->type == tok_operator && t->content == ",") // next global
{
next ();