-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fortran] Bug fixes for ingestion TIE-GCM source (#567)
## TIE-GCM bug fixes There were a number of small bugs in the Fortran->Gromet pipeline that were discovered when determining which TIE-GCM files are currently able to be ingested. ### Node Helper - Fixes missing comma in CONTROL_CHARACTERS list causing '>' to be ignored. - Adds additional set of control characters to CONTROL_CHARACTERS list that weren't previously seen in any examples - Adds remove_comments function to remove comment nodes from tree-sitter parse tree. This prevents comments from being processed by ts2cast and creating unexpected None values in the CAST. ### Preprocessor - Fixes bug in include directory path when running script from directory other than the system root. - Runs gcc processor from system root if there are no `#include` directives. ### TS2CAST - Fixes bug in function call handler to support ingesting functions with no arguments. - Fixes bug when in function call handler when the function call is part of a unary expression `+foo()` - Fixes bug in conditional handler to support ingesting single line conditionals - Adds support for `not` operator Resolves #563
- Loading branch information
1 parent
386494b
commit 7ae4f25
Showing
3 changed files
with
74 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters