Skip to content

Commit

Permalink
Fixed undeclared specifier in yue_compiler.cpp (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
dankmolot authored Mar 12, 2024
1 parent 5a57ffa commit b1661cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yuescript/yue_compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9033,7 +9033,7 @@ class YueCompilerImpl {
}
#else // YUE_NO_MACRO
if (importAllMacro) {
throw CompileError("macro feature not supported"sv, import->target);
throw CompileError("macro feature not supported"sv, importNode->target);
}
#endif // YUE_NO_MACRO
if (newTab->items.empty()) {
Expand Down

0 comments on commit b1661cc

Please sign in to comment.