summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ecomp-c/asm-i386.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ecomp-c/asm-i386.c b/ecomp-c/asm-i386.c
index 743d39a..8b80fe2 100644
--- a/ecomp-c/asm-i386.c
+++ b/ecomp-c/asm-i386.c
@@ -1014,6 +1014,10 @@ static OperandInfo *parseOperand( OpcodeInfo *opcode_info )
assign_label( operand_info, ident );
}
Expect( S_rbrak );
+ } else if( sym == S_newline ) {
+ /* ok, end of operands */
+ } else {
+ Abort( "Parse error when parsing operands at '%s'", symname[sym] );
}
return operand_info;