diff options
author | Li Jin <dragon-fly@qq.com> | 2023-03-23 15:52:16 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-03-23 15:52:16 +0800 |
commit | 694068b6dc92269b0221d671bf15b5965ccddff7 (patch) | |
tree | 6e8341fed267bbac4a8ec819937f983eecab41c9 /src | |
parent | 5337b7ed406bfe6c545ae106cedcdd893bd76a99 (diff) | |
download | yuescript-694068b6dc92269b0221d671bf15b5965ccddff7.tar.gz yuescript-694068b6dc92269b0221d671bf15b5965ccddff7.tar.bz2 yuescript-694068b6dc92269b0221d671bf15b5965ccddff7.zip |
fixing Linux build.
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) { |