mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 11:58:30 +01:00
cpp2ffi: get correct line number when compiler outputs defines (gcc -dD)
This commit is contained in:
@@ -1654,6 +1654,7 @@ local function location(file,locpathT,defines,COMPILER)
|
||||
end
|
||||
end
|
||||
elseif in_location then
|
||||
loc_num_incr = loc_num_incr + 1
|
||||
local name,val = line:match(define_re)
|
||||
if name and val then
|
||||
--while defines[val] do val = defines[val] end
|
||||
|
Reference in New Issue
Block a user