diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-05-04 18:12:14 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-05-04 18:15:56 +0200 |
commit | f0a987503cb55f438a79c6d14058b23c5b801a0c (patch) | |
tree | b0434fb24956f79b191eef431f4ad7b67e4879d5 /util.h | |
parent | 16604331c185d7597b53709cc09a072a2652415e (diff) |
compiler: properly handle keyword in parenthesized property access expression
Due to the special code path parsing the leading label portion of a
parenthesized expression, keywords following a property access operator
(TK_DOT, `.`) weren't properly handled, emitting a syntax error when an
otherwise valid expression such as `value.default` was being parsed as
first sub expression of a parenthesized expression.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions