From 97a74e36f1855c862ea9a1e920d1c2e0f6b38476 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Tue, 2 Dec 2008 15:22:24 +0000 Subject: [PATCH] C++ operator can be at the start of a statement, too. [r24227] --- parser.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parser.c b/parser.c index 593f253..1d4862c 100644 --- a/parser.c +++ b/parser.c @@ -10786,6 +10786,7 @@ static statement_t *parse_compound_statement(bool inside_expression_statement) add_anchor_token(T_int); add_anchor_token(T_long); add_anchor_token(T_new); + add_anchor_token(T_operator); add_anchor_token(T_register); add_anchor_token(T_reinterpret_cast); add_anchor_token(T_restrict); @@ -10898,6 +10899,7 @@ end_error: rem_anchor_token(T_restrict); rem_anchor_token(T_reinterpret_cast); rem_anchor_token(T_register); + rem_anchor_token(T_operator); rem_anchor_token(T_new); rem_anchor_token(T_long); rem_anchor_token(T_int); -- 2.20.1