diff options
Diffstat (limited to 'src/yuescript/yue_parser.cpp')
| -rw-r--r-- | src/yuescript/yue_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp index eaabf0d..045e2c7 100644 --- a/src/yuescript/yue_parser.cpp +++ b/src/yuescript/yue_parser.cpp | |||
| @@ -761,7 +761,7 @@ YueParser::YueParser() { | |||
| 761 | 761 | ||
| 762 | GlobalValues = NameList >> -(space >> '=' >> space >> (TableBlock | ExpListLow)); | 762 | GlobalValues = NameList >> -(space >> '=' >> space >> (TableBlock | ExpListLow)); |
| 763 | GlobalOp = expr('*') | '^'; | 763 | GlobalOp = expr('*') | '^'; |
| 764 | Global = key("global") >> space >> (ClassDecl | GlobalOp | GlobalValues); | 764 | Global = key("global") >> space >> (-(ConstAttrib >> space) >> ClassDecl | GlobalOp | -(ConstAttrib >> space) >> GlobalValues); |
| 765 | 765 | ||
| 766 | ExportDefault = key("default"); | 766 | ExportDefault = key("default"); |
| 767 | 767 | ||
