소스 검색

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;