浏览代码

* m68k: fix an endless syntax error loop in the assembler reader

Karoly Balogh 3 年之前
父节点
当前提交
554ae218ca
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/m68k/ra68kmot.pas

+ 1 - 0
compiler/m68k/ra68kmot.pas

@@ -717,6 +717,7 @@ const
                   begin
                   begin
                     Message(asmr_e_syn_constant);
                     Message(asmr_e_syn_constant);
                     l := 0;
                     l := 0;
+                    Consume(AS_ID);
                   End else
                   End else
                   begin
                   begin
                     hs:='';
                     hs:='';