A compiler for JMC (JavaScript-like Minecraft Function), a mcfunction extension language for making Minecraft Datapack
64
stars
7
forks
source link
[BUG] Hashtag-comments inside a class prevent containing a single quote cause compiler error #100
Open
Shywizz opened 3 months ago
Describe the bug
The compiler will complain that "bracket for a class was never closed" if using a comment containing a single quote
To Reproduce
create a dummy class
#'
jmc compile
Expected behavior
Code should compile correctly and output the comment line as-is
Screenshots
Relevant jmc/tryout demo : jmc-commenting-bug
Desktop
Linux arch 6.8.5-arch1-1x86_64 GNU/Linux
Additional context
jmc --version
v1.2.17