瀏覽代碼

+ handle ait_marker in the sdcc-sdasz80 asm writer

git-svn-id: branches/z80@44811 -
nickysn 5 年之前
父節點
當前提交
e86cd0df7a
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      compiler/z80/agsdasz80.pas

+ 5 - 0
compiler/z80/agsdasz80.pas

@@ -828,6 +828,11 @@ unit agsdasz80;
               begin
                 WriteInstruction(taicpu(hp));
               end;
+            ait_marker :
+              if tai_marker(hp).kind=mark_NoLineInfoStart then
+                inc(InlineLevel)
+              else if tai_marker(hp).kind=mark_NoLineInfoEnd then
+                dec(InlineLevel);
             ait_stab,
             ait_force_line,
             ait_function_name : ;