summaryrefslogtreecommitdiff
path: root/codegen.c
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2024-09-02 17:37:25 -0700
committerMatthew Sotoudeh <matthew@masot.net>2024-09-02 17:37:25 -0700
commitc7d6b7a8da2850dd68906929447ac6720604560a (patch)
treea3d432665e9fbb3c930cb282972349fe39bb0000 /codegen.c
parent6a86be8a6bc85a0cb4c36a3f64db79d775b811a8 (diff)
fix pretokenization
Diffstat (limited to 'codegen.c')
-rw-r--r--codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen.c b/codegen.c
index b939531..857e89a 100644
--- a/codegen.c
+++ b/codegen.c
@@ -490,7 +490,7 @@ static void gen_expr(Node *node, int to_tmp) {
println("\tt%d = ! t%d ;", rhsfalse, rhs);
println("\tif ( t%d ) goto _L_false_%d ;", rhsfalse, c);
println("\tt%d = 1 ;", to_tmp);
- println("\tgoto _L_end_%d;", c);
+ println("\tgoto _L_end_%d ;", c);
println("\t_L_false_%d :", c);
println("\t_L_end_%d :", c);
return;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback