summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-02-18 10:01:49 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2022-02-18 10:05:01 -0400
commitf00dcc0b9d2588936d8a64dcfa64620a07a05c6d (patch)
tree4e31e1438d88b8ab3d8d62f6da0eaf5cf4afcb4c
parentbb88d7c8640a89ed943773ff5b7c34a67377fc9d (diff)
igen: Fixed a typo in `lex_comp_stmt()`.new-instruction-handler
-rw-r--r--igen/lexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/igen/lexer.c b/igen/lexer.c
index a8eb039..0f05606 100644
--- a/igen/lexer.c
+++ b/igen/lexer.c
@@ -110,7 +110,7 @@ stmt *lex_comp_stmt(source *src, int dbg) {
for (s = lex_stmt(src, dbg); *src->text != '}' && *src->text != '\0'; s = s->next) {
s->wsp = wsp;
s->next = lex_stmt(src, dbg);
- text = skip_seperators(src, &wsp, 1, dbg);
+ text = skip_seperators(src, &wsp, 0, dbg);
}
text = src->text;