Skip to content

Commit

Permalink
Merge pull request #33 from Quickfall/fix/lexer
Browse files Browse the repository at this point in the history
fix: fixed some unexcepted errors & behavior caused by the lexer changes
  • Loading branch information
Zffu authored Dec 14, 2024
2 parents d5a602d + 1baf398 commit 89f6cc2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/parser/asts/functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "../parser.h"
#include "../ast.h"

#include "../../lexer/tokens.h"
#include "../../lexer/lexer.h"

/**
Expand Down
2 changes: 2 additions & 0 deletions src/parser/asts/functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* Function-related AST parsing.
*/

#include "../../lexer/lexer.h"

#include "../ast.h"

#ifndef AST_FUNC_H
Expand Down
2 changes: 2 additions & 0 deletions src/parser/asts/math.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include <stdlib.h>

#include "../../lexer/lexer.h"

#include "../ast.h"
#include "./variables.h"

Expand Down
2 changes: 2 additions & 0 deletions src/parser/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

#include <stdio.h>

#include "../lexer/tokens.h"
#include "../lexer/lexer.h"

#include "./ast.h"

#include "./asts/variables.h"
Expand Down

0 comments on commit 89f6cc2

Please sign in to comment.