dbaumgarten / yodk

Development Kit for Starbase's ingame programming language YOLOL
MIT License
57 stars 16 forks source link

Parser permit inline comments (untested) #120

Closed Woccz closed 2 years ago

Woccz commented 2 years ago

What this PR does / why we need it**:

Allows for inlining of comments in nolol. This seems like the simple fix, however if this same parser is used between yolol and nolol, it would allow for inline commenting in yolol, which is illegal. I am not sure if this is the case? I am also not certain that the compiler will correctly comment out after the token?

Which issue(s) this PR fixes**:

Fixes #53

Checklist:

Woccz commented 2 years ago

Incorrect Parser