diff options
Diffstat (limited to 'src/yuescript/yue_parser.cpp')
| -rw-r--r-- | src/yuescript/yue_parser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp index e860d55..1011a49 100644 --- a/src/yuescript/yue_parser.cpp +++ b/src/yuescript/yue_parser.cpp | |||
| @@ -709,7 +709,8 @@ YueParser::YueParser() { | |||
| 709 | chain_with_colon = +chain_item >> -colon_chain; | 709 | chain_with_colon = +chain_item >> -colon_chain; |
| 710 | chain_items = chain_with_colon | colon_chain; | 710 | chain_items = chain_with_colon | colon_chain; |
| 711 | 711 | ||
| 712 | index = '[' >> not_('[') >> space >> Exp >> space >> ']'; | 712 | index = '[' >> not_('[') >> space >> (ReversedIndex >> and_(space >> ']') | Exp) >> space >> ']'; |
| 713 | ReversedIndex = '#' >> space >> -('-' >> space >> Exp); | ||
| 713 | chain_item = | 714 | chain_item = |
| 714 | Invoke >> -ExistentialOp | | 715 | Invoke >> -ExistentialOp | |
| 715 | DotChainItem >> -ExistentialOp | | 716 | DotChainItem >> -ExistentialOp | |
