diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/yuescript/yue_compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuescript/yue_compiler.cpp b/src/yuescript/yue_compiler.cpp index 07c0e70..8a63098 100644 --- a/src/yuescript/yue_compiler.cpp +++ b/src/yuescript/yue_compiler.cpp | |||
@@ -170,7 +170,7 @@ public: | |||
170 | options = std::make_unique<Options>(config.options); | 170 | options = std::make_unique<Options>(config.options); |
171 | } | 171 | } |
172 | DEFER(clear()); | 172 | DEFER(clear()); |
173 | if (_info.node) { | 173 | if (!_info.error) { |
174 | try { | 174 | try { |
175 | auto block = _info.node.to<File_t>()->block.get(); | 175 | auto block = _info.node.to<File_t>()->block.get(); |
176 | if (_info.exportMacro) { | 176 | if (_info.exportMacro) { |