File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -640,9 +640,14 @@ token* lexer::tokenize_value() {
640640 else if (last_tok->type == TOKEN_OPEN_BRACKET) {
641641 delete last_tok;
642642 std::list<token*> values;
643+
643644 while (true )
644645 {
645646 read_token ();
647+
648+ if (last_tok->type == TOKEN_CLOSE_BRACKET)
649+ break ;
650+
646651 values.push_back (tokenize_expression ());
647652 if (last_tok->type != TOKEN_COMMA) {
648653 break ;
Original file line number Diff line number Diff line change @@ -92,11 +92,6 @@ class interpreter {
9292 this ->lexer_state .constants [insecure_hash (identifier)] = val;
9393 }
9494
95- // //you need the garbage collector to allocate non-primitive objects
96- // inline garbage_collector* get_garbage_collector() {
97- // return &this->garbage_collector;
98- // }
99-
10095private:
10196 variable_manager* static_var_manager;
10297 garbage_collector garbage_collector;
You can’t perform that action at this time.
0 commit comments