Skip to content

Commit

Permalink
Rename parser.py to language_parser.py
Browse files Browse the repository at this point in the history
This is to avoid confusion with the built-in `parser` module (removed
since Python 3.10).
  • Loading branch information
JCGoran committed Feb 15, 2024
1 parent c7b1e35 commit 3f4edd9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/language/code_generator.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ set(CODE_GENERATOR_PY_FILES
${PROJECT_SOURCE_DIR}/src/language/code_generator.py
${PROJECT_SOURCE_DIR}/src/language/node_info.py
${PROJECT_SOURCE_DIR}/src/language/nodes.py
${PROJECT_SOURCE_DIR}/src/language/parser.py
${PROJECT_SOURCE_DIR}/src/language/language_parser.py
${PROJECT_SOURCE_DIR}/src/language/utils.py
)

Expand Down
2 changes: 1 addition & 1 deletion src/language/code_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import jinja2

from parser import LanguageParser
from language_parser import LanguageParser
import node_info
import utils

Expand Down
File renamed without changes.

0 comments on commit 3f4edd9

Please sign in to comment.