summaryrefslogtreecommitdiffstats
path: root/parse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'parse.cxx')
-rw-r--r--parse.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.cxx b/parse.cxx
index 2aca32fb..a829fa10 100644
--- a/parse.cxx
+++ b/parse.cxx
@@ -1343,14 +1343,14 @@ parser::parse_probe_point ()
{
next ();
t = peek ();
- if (! (t->type == tok_operator && t->content == "("))
+ if (t && ! (t->type == tok_operator && t->content == "("))
throw parse_error ("expected '('");
next ();
pl->condition = parse_expression ();
t = peek ();
- if (! (t->type == tok_operator && t->content == ")"))
+ if (t && ! (t->type == tok_operator && t->content == ")"))
throw parse_error ("expected ')'");
next ();
t = peek ();