Comma-list declarations issue 2856#2975
Conversation
|
If you made changes to the grammar you need to commit the kRISC.tpg file too. I assume you did since the PR includes changes to the Parser class. |
|
Does this allow |
|
@marianoapp I didn't realize that I was supposed to modify the kRISC.tpg file, but I've done it now and generated the code with TinyPG. @thexa4 Yes, that works. |
|
This basically works by splitting them up in separate operations, so the only actual changes are how the statement is parsed and compiled. So it basically still functions the same way as having separate statements. This is basically the only thing I've changed in the code aside from kRISC.tpg: KOS/src/kOS.Safe/Compilation/KS/Compiler.cs Lines 2175 to 2183 in 87e9c02 |
Added comma-list declarations.
Fixes #2856
It is not finished yet as I have only added them for
SETright now.