Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"\" で終わるアトム名 #328

Open
k-ueda opened this issue Feb 13, 2024 · 0 comments
Open

"\" で終わるアトム名 #328

k-ueda opened this issue Feb 13, 2024 · 0 comments

Comments

@k-ueda
Copy link
Contributor

k-ueda commented Feb 13, 2024

'\\', 'aaaa\\', '\n\\' など,(エスケープされた)バックスラッシュで終わる single-quoted なアトム名を,SLIMの il_parser が読み込めない.
il parser error: syntax error
(コンパイラは
newatom [1, 0, '\\\\'_0]
という命令を出している)
'\\' がアトム名の最後でなければ読み込める.
loader/il_lexer.cpp.re のどこかが問題.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant