pigpigyyy / Yuescript

A Moonscript dialect compiles to Lua.
http://yuescript.org
MIT License
424 stars 35 forks source link

$FILE macro does not escape backslash (on Windows) #135

Closed johnd0e closed 1 year ago

johnd0e commented 1 year ago

https://yuescript.org/doc/#builtin-macro

[string "C:\Temp\test.yue"]:1: invalid escape sequence near '"C:'
pigpigyyy commented 1 year ago

Made a new commit fixing this, and it seems the commit message is recognized by Github to close the issue automatically. I think issues should be closed manually in case it is not really fixed or need further discussion.

johnd0e commented 1 year ago

Thank you, the issue is gone.