forgot to remove commented code
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Mon, 13 Dec 2021 03:47:43 +0000 (21:47 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Mon, 13 Dec 2021 03:47:43 +0000 (21:47 -0600)
src/parser.c

index f4f8b1b6a392bc122d9e3ddba50572937a0cb2d0..c473394c2fcb0ae580d22828f6bfa634beed8987 100644 (file)
@@ -2956,15 +2956,6 @@ static void parse_top_level_statement(OnyxParser* parser) {
                 include->token = dir_token;
                 include->name_node = parse_expression(parser, 0);
 
-                /* nocheckin
-                OnyxToken* str_token = expect_token(parser, Token_Type_Literal_String);
-                if (str_token != NULL) {
-                    token_toggle_end(str_token);
-                    include->name = bh_strdup(parser->allocator, str_token->text);
-                    token_toggle_end(str_token);
-                }
-                */
-
                 ENTITY_SUBMIT(include);
                 return;
             }
@@ -2973,15 +2964,6 @@ static void parse_top_level_statement(OnyxParser* parser) {
                 include->token = dir_token;
                 include->name_node = parse_expression(parser, 0);
 
-                /* nocheckin
-                OnyxToken* str_token = expect_token(parser, Token_Type_Literal_String);
-                if (str_token != NULL) {
-                    token_toggle_end(str_token);
-                    include->name = bh_strdup(parser->allocator, str_token->text);
-                    token_toggle_end(str_token);
-                }
-                */
-
                 ENTITY_SUBMIT(include);
                 return;
             }
@@ -2990,15 +2972,6 @@ static void parse_top_level_statement(OnyxParser* parser) {
                 include->token = dir_token;
                 include->name_node = parse_expression(parser, 0);
 
-                /* nocheckin
-                OnyxToken* str_token = expect_token(parser, Token_Type_Literal_String);
-                if (str_token != NULL) {
-                    token_toggle_end(str_token);
-                    include->name = bh_strdup(parser->allocator, str_token->text);
-                    token_toggle_end(str_token);
-                }
-                */
-
                 ENTITY_SUBMIT(include);
                 return;
             }