aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/yuescript/yue_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp
index c8b974f..df64759 100644
--- a/src/yuescript/yue_parser.cpp
+++ b/src/yuescript/yue_parser.cpp
@@ -536,7 +536,7 @@ YueParser::YueParser() {
536 throw ParserError("export default has already been declared", *item.begin, *item.end); 536 throw ParserError("export default has already been declared", *item.begin, *item.end);
537 } 537 }
538 if (st->exportCount > 1) { 538 if (st->exportCount > 1) {
539 throw ParserError("there are items already been exported", *item.begin, *item.end); 539 throw ParserError("there are items already being exported", *item.begin, *item.end);
540 } 540 }
541 st->exportDefault = true; 541 st->exportDefault = true;
542 return true; 542 return true;