Skip to content

Commit

Permalink
Fix code duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
gamerbross committed Jun 27, 2024
1 parent b59bffb commit a84dfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hscript/Parser.hx
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ class Parser {
mk(ETernary(
mk(EBinop("==", mk(EIdent(tmp),pmin(e1),pmax(e1)), mk(EIdent("null"),pmin(e1),pmax(e1)))),
e2,
e1
mk(EIdent(tmp),pmin(e1),pmax(e1))
))
]),pmin(e1));
return parseExprNext(e);
Expand Down

0 comments on commit a84dfa1

Please sign in to comment.