diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-05-11 17:23:24 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-05-11 17:34:33 +0200 |
commit | f20b56ff64b3144d618d228fbe1a3d07aad96450 (patch) | |
tree | a58b582fe73176ac39f1a3a6c2616f800bed0ff4 /lib/math.c | |
parent | 5c4e1ea8dca744482879dfc15ed21fc24beb2775 (diff) |
compiler: properly parse slashes in parenthesized division expressions
Due to the special code path parsing the leading label portion of a
parenthesized expression, slashes following a label were improperly
treated as regular expression literal delimitters, emitting a syntax
error when an otherwise valid expression such as `a / 1` was being
parsed as first sub expression of a parenthesized expression.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib/math.c')
0 files changed, 0 insertions, 0 deletions