aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/nomsu.lua b/nomsu.lua
index 21e4af2..86172c4 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -199,6 +199,9 @@ run = function()
local env = nomsu_environment.new_environment()
env.MODULE_NAME = filename
local tree = env._1_parsed(code)
+ if tree.shebang then
+ output:write(tree.shebang)
+ end
if not (tree.type == 'FileChunks') then
tree = {
tree