Skip to content

Commit

Permalink
Rename Fortran.asdl to AST.asdl
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Mar 15, 2019
1 parent ce1ffff commit 1295f8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
set -x

# Generate a Fortran AST from Fortran.asdl
# Generate a Fortran AST from AST.asdl
python grammar/asdl_py.py
# Generate a Fortran ASR from ASR.asdl
python grammar/asdl_py.py grammar/ASR.asdl lfortran/asr/asr.py ..ast.utils
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions grammar/asdl_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,9 @@ def main(argv):
if len(argv) == 4:
def_file, out_file, util_import_part = argv[1:]
elif len(argv) == 1:
print("Assuming default values of Fortran.asdl and ast.py")
print("Assuming default values of AST.asdl and ast.py")
here = os.path.dirname(__file__)
def_file = os.path.join(here, "Fortran.asdl")
def_file = os.path.join(here, "AST.asdl")
out_file = os.path.join(here, "..", "lfortran", "ast", "ast.py")
util_import_part = ".utils"
else:
Expand Down

0 comments on commit 1295f8b

Please sign in to comment.