mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
fix parser reserved words
This commit is contained in:
@@ -724,7 +724,10 @@ const function_call_or_member_access = nested =>
|
||||
),
|
||||
// Adjust identifier to string literal
|
||||
if_ok(
|
||||
identifier,
|
||||
either(
|
||||
identifier,
|
||||
by_type('keyword'),
|
||||
),
|
||||
iden => ({...iden,
|
||||
type: 'string_literal',
|
||||
value: '"' + iden.value + '"',
|
||||
|
||||
Reference in New Issue
Block a user