Преглед изворни кода

m68k: fix the assembler reader to bail out earlier on a failed parsing of a constant expression

Karoly Balogh пре 1 година
родитељ
комит
53e7006d56
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      compiler/m68k/ra68kmot.pas

+ 1 - 0
compiler/m68k/ra68kmot.pas

@@ -982,6 +982,7 @@ const
       else
         begin
           Message(asmr_e_syntax_error);
+          Consume(actasmtoken);
         end;
       end; { end case }
     until actasmtoken = AS_SEPARATOR;