X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Fcompile.c;h=de1144bb0f5c7c6e2c2e9bc02e64269ec926d6d0;hb=7c9bf720d8861c529f056532a308b1dbc94c25ab;hp=19a5446e3d445efa8a8d507f2fcd03382d452dd2;hpb=e1b0251f040c26412c167ecaf60161da4ea68d36;p=cc65 diff --git a/src/cc65/compile.c b/src/cc65/compile.c index 19a5446e3..de1144bb0 100644 --- a/src/cc65/compile.c +++ b/src/cc65/compile.c @@ -40,6 +40,7 @@ /* cc65 */ #include "asmlabel.h" +#include "asmstmt.h" #include "codegen.h" #include "declare.h" #include "error.h" @@ -87,7 +88,7 @@ static void Parse (void) /* Check for an ASM statement (which is allowed also on global level) */ if (CurTok.Tok == TOK_ASM) { - doasm (); + AsmStatement (); ConsumeSemi (); continue; }