haxe icon indicating copy to clipboard operation
haxe copied to clipboard

Ast.unescape should not exist

Open Simn opened this issue 7 months ago • 0 comments

Every time I come across this function I wonder why it exists. We use it to handle things like "\n" becoming an actual newline character, as opposed to backslash plus n. What I don't understand is why we don't do this in the lexer directly, because its whole job is to lex our string anyway.

I might be missing something though...

Simn avatar Apr 11 '25 05:04 Simn