add semicolons to raw haxe code

This commit is contained in:
Yvon
2022-06-18 22:41:21 +03:00
committed by Nat Quayle Nelson
parent 90269672ed
commit 4bf975cc81
2 changed files with 2 additions and 1 deletions

View File

@@ -202,6 +202,7 @@ class Macros {
for (matchBodySymbol in matchBodySymbols) {
caseInterp.variables.set(Prelude.symbolNameValue(matchBodySymbol), matchBodies.shift());
}
prepareForConditional(caseInterp, k);
try {
var hscriptStr = Prelude.convertToHScript(caseStr);
#if test

View File

@@ -514,7 +514,7 @@ class Reader {
name;
case RawHaxe(code):
// #| haxeCode() |#
'#{ $code }#';
'#| $code |#';
case RawHaxeBlock(code):
// #{ haxeCode(); moreHaxeCode(); }#
'#{ $code }#';