aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stmt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stmt.c b/stmt.c
index 8d45e3c..f7dd0cd 100644
--- a/stmt.c
+++ b/stmt.c
@@ -280,5 +280,8 @@ stmt(struct func *f, struct scope *s)
funcret(f, v);
expect(TSEMICOLON, "after 'return' statement");
break;
+
+ case T__ASM__:
+ error(&tok.loc, "inline assembly is not yet supported");
}
}