summaryrefslogtreecommitdiff
path: root/ecomp-c/asm-i386.c
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-c/asm-i386.c')
-rw-r--r--ecomp-c/asm-i386.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ecomp-c/asm-i386.c b/ecomp-c/asm-i386.c
index 9dc03a1..743d39a 100644
--- a/ecomp-c/asm-i386.c
+++ b/ecomp-c/asm-i386.c
@@ -1194,6 +1194,7 @@ static OpcodeInfo *parseDirective( void )
case S_org:
opcode_info = parseOrg( );
break;
+
case S_ident:
if( peekSym( ) == S_colon ) {
symbol = parseLabel( );
@@ -1211,6 +1212,10 @@ static OpcodeInfo *parseDirective( void )
last_label = NULL;
}
break;
+
+ case S_newline:
+ break;
+
default:
Abort( "Parse error at '%s'\n", symname[sym] );
}