diff options
author | Ananth N Mavinakayanahalli <ananth@in.ibm.com> | 2008-05-14 10:56:37 +0530 |
---|---|---|
committer | Ananth N Mavinakayanahalli <ananth@in.ibm.com> | 2008-05-14 10:56:37 +0530 |
commit | c3799d720b60bd74a60de4addcd0d77a90f7842a (patch) | |
tree | 82fbc6b86cb105f9bf3b9cfa4e4c6d371abaaee8 /parse.cxx | |
parent | 838cd09eb9134f49a4f290ae5f615edff781f153 (diff) | |
download | systemtap-steved-c3799d720b60bd74a60de4addcd0d77a90f7842a.tar.gz systemtap-steved-c3799d720b60bd74a60de4addcd0d77a90f7842a.tar.xz systemtap-steved-c3799d720b60bd74a60de4addcd0d77a90f7842a.zip |
PR 5955 - Accept ; terminated globals
Diffstat (limited to 'parse.cxx')
-rw-r--r-- | parse.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 (); |