diff --git a/compiler/src/parsing/parser.mly b/compiler/src/parsing/parser.mly index ac8c529ea5..fa3c1efd75 100644 --- a/compiler/src/parsing/parser.mly +++ b/compiler/src/parsing/parser.mly @@ -16,7 +16,7 @@ module Grain_parsing = struct end %token NUMBER_INT NUMBER_FLOAT %token INT8 INT16 INT32 INT64 UINT8 UINT16 UINT32 UINT64 FLOAT32 FLOAT64 BIGINT %token WASMI32 WASMI64 WASMF32 WASMF64 -%token LIDENT [@pattern "[\\p{XID_Start}--\\p{Lu}_]\\p{XID_Continue}*"] UIDENT [@pattern "\\p{XID_Start}&&\\p{Lu}\\p{XID_Continue}"] +%token LIDENT [@pattern "[\\p{XID_Start}--\\p{Lu}_]\\p{XID_Continue}*"] UIDENT [@pattern "\\p{XID_Start}&&\\p{Lu}\\p{XID_Continue}*"] %token STRING BYTES CHAR %token LBRACK LBRACKRCARET RBRACK LPAREN RPAREN LBRACE RBRACE LCARET RCARET %token COMMA SEMI AS