Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compiler: fix ScopeCoder skips statement terminator for expressions
Browse files Browse the repository at this point in the history
mertcandav committed Feb 6, 2024
1 parent ca0ce87 commit 0b814ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/julec/obj/cxx/scope.jule
Original file line number Diff line number Diff line change
@@ -693,7 +693,7 @@ impl ScopeCoder {
| &Var:
ret self.var((&Var)(st))
| &Data:
ret self.oc.ec.expr((&Data)(st))
ret self.oc.ec.expr((&Data)(st)) + ";"
| &Conditional:
ret self.conditional((&Conditional)(st))
| &InfIter:

0 comments on commit 0b814ee

Please sign in to comment.