summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/oasm/parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/oasm/parse.c b/usr.bin/oasm/parse.c
index 88b5506..7a855ca 100644
--- a/usr.bin/oasm/parse.c
+++ b/usr.bin/oasm/parse.c
@@ -144,6 +144,7 @@ parse_tok(struct oasm_state *state, struct oasm_token *tok)
emit_osxm64(&emit_state, tok);
break;
case TT_DEC:
+ case TT_INC:
state->last = tok->type;
emit_osxm64(&emit_state, tok);
break;