Closed rrruko closed 5 years ago
We currently parse 123foo as ASTList [ASTInt 123, ASTIdentifier (Identifier "foo")]. Emacs instead interprets it as a valid identifier. Identifiers that start with numbers are rarely used in real code, but we should eventually agree with Emacs.
123foo
ASTList [ASTInt 123, ASTIdentifier (Identifier "foo")]
i duplicated this issue by accident, oops
fixed by 054691e
We currently parse
123foo
asASTList [ASTInt 123, ASTIdentifier (Identifier "foo")]
. Emacs instead interprets it as a valid identifier. Identifiers that start with numbers are rarely used in real code, but we should eventually agree with Emacs.