Browse Source

DynASM: Emit #line <n> <file> instead of #<n> <file>.

Mike Pall 12 years ago
parent
commit
1f7b326217
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dynasm/dynasm.lua

+ 1 - 1
dynasm/dynasm.lua

@@ -85,7 +85,7 @@ end
 -- Resync CPP line numbers.
 -- Resync CPP line numbers.
 local function wsync()
 local function wsync()
   if g_synclineno ~= g_lineno and g_opt.cpp then
   if g_synclineno ~= g_lineno and g_opt.cpp then
-    wline("# "..g_lineno..' "'..g_fname..'"')
+    wline("#line "..g_lineno..' "'..g_fname..'"')
     g_synclineno = g_lineno
     g_synclineno = g_lineno
   end
   end
 end
 end