Correctly raise an error if a quoted identifier starting with '{' has no corresponding '}'.
[COMPILER] * BUG: Correctly raise an error if a quoted identifier starting with '{' has no corresponding '}'.
This commit is contained in:
parent
477116942d
commit
df26bab7c4
1 changed files with 4 additions and 2 deletions
|
@ -863,8 +863,10 @@ static void add_quoted_identifier(void)
|
|||
len++;
|
||||
}
|
||||
|
||||
if (get_char() == '}')
|
||||
source_ptr++;
|
||||
if (get_char() != '}')
|
||||
THROW("Missing '}'");
|
||||
|
||||
source_ptr++;
|
||||
|
||||
if (PATTERN_is(last_pattern, RS_EVENT) || PATTERN_is(last_pattern, RS_RAISE))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue