aboutsummaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authorc2024-03-02 11:00:37 -0500
committerc2024-03-02 11:00:37 -0500
commit96c63e2fc4d70f20c8e2bac79e3547dfd6a5fcb8 (patch)
tree4b00617617355193486ff506cb2c012e8b33cbfa /src/parser.c
parente29c41a84b299c95a49dfa429f4161eb71cf6837 (diff)
Doer is.
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c
index 3dc26a1..2dcf96b 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -16,7 +16,6 @@ void parser_destroy(parser_t* parser) {
if (parser) { free(parser); }
}
-/* TODO: What if the program begins with a ";"? */
int parser_nxt_token(parser_t* parser) {
/* Preserve original token list, to be cleaned up by lexer. */
if (!parser->token) { return 0; }
@@ -100,7 +99,6 @@ tree_t* parser_parse_def(parser_t* parser) {
def->data.def.arg = NULL;
}
- LOG_DBGF("%s <<<<<<<<<<<<,, HERE HER HERE", parser->token->val);
if (parser->token->type == TOKEN_TYPE_SET) {
parser_nxt_token(parser); /* Skip over set. */
def->data.def.val = parser_parse_expr(parser);