You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code uses _a-zA-Z as the beginning of an identifier, but according to Rust spec any XID_Start is a valid identifier first character, so that part of the lexer should be updated with _ and @xid_start. (not sure what the right syntax for this is in alex)
(I don't have Haskell toolchain installed otherwise I would submit a PR)
The text was updated successfully, but these errors were encountered:
This line in the lexer:
language-rust/src/Language/Rust/Parser/Lexer.x
Line 1048 in 9d509c4
Implements the "not immediately followed" part in the Rust lexical syntax spec: https://doc.rust-lang.org/reference/tokens.html#floating-point-literals
The code uses
_a-zA-Z
as the beginning of an identifier, but according to Rust spec anyXID_Start
is a valid identifier first character, so that part of the lexer should be updated with_
and@xid_start
. (not sure what the right syntax for this is in alex)(I don't have Haskell toolchain installed otherwise I would submit a PR)
The text was updated successfully, but these errors were encountered: