Fixed dumb bug.
This commit is contained in:
parent
3fd5687370
commit
26a6174f28
@ -493,6 +493,7 @@ do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
map_sources(lua)
|
map_sources(lua)
|
||||||
|
map[lua_line] = map[lua_line] or nomsu_line
|
||||||
map[0] = 0
|
map[0] = 0
|
||||||
SOURCE_MAP[source_key] = map
|
SOURCE_MAP[source_key] = map
|
||||||
end
|
end
|
||||||
|
@ -323,7 +323,7 @@ with NomsuCompiler
|
|||||||
nomsu_line = files.get_line_number(file, s.source.start)
|
nomsu_line = files.get_line_number(file, s.source.start)
|
||||||
for b in *s.bits do map_sources(b)
|
for b in *s.bits do map_sources(b)
|
||||||
map_sources(lua)
|
map_sources(lua)
|
||||||
--map[lua_line] or= nomsu_line
|
map[lua_line] or= nomsu_line
|
||||||
map[0] = 0
|
map[0] = 0
|
||||||
-- Mapping from lua line number to nomsu line numbers
|
-- Mapping from lua line number to nomsu line numbers
|
||||||
SOURCE_MAP[source_key] = map
|
SOURCE_MAP[source_key] = map
|
||||||
|
Loading…
Reference in New Issue
Block a user