aboutsummaryrefslogtreecommitdiff
path: root/nomsu_compiler.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-10 17:13:48 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-10 17:13:53 -0700
commit26a6174f28191fe3364e30c76c1c7a5814e7c5ab (patch)
tree15b5cdd02958d449021228d2afb239e11e4dbe1b /nomsu_compiler.moon
parent3fd5687370c3ef28c1878a79f0b4173e7212795f (diff)
Fixed dumb bug.
Diffstat (limited to 'nomsu_compiler.moon')
-rw-r--r--nomsu_compiler.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_compiler.moon b/nomsu_compiler.moon
index 080e3d7..747ddc6 100644
--- a/nomsu_compiler.moon
+++ b/nomsu_compiler.moon
@@ -323,7 +323,7 @@ with NomsuCompiler
nomsu_line = files.get_line_number(file, s.source.start)
for b in *s.bits do map_sources(b)
map_sources(lua)
- --map[lua_line] or= nomsu_line
+ map[lua_line] or= nomsu_line
map[0] = 0
-- Mapping from lua line number to nomsu line numbers
SOURCE_MAP[source_key] = map