Przeglądaj źródła

+ handle ait_marker in the sdcc-sdasz80 asm writer

git-svn-id: branches/z80@44811 -
nickysn 5 lat temu
rodzic
commit
e86cd0df7a
1 zmienionych plików z 5 dodań i 0 usunięć
  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 : ;