Skip to content

Commit

Permalink
More changes for lc
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaikh-Ubaid committed Jan 26, 2024
1 parent e2adeb3 commit 443cdf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/lc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ int mainApp(int argc, const char **argv) {
app.add_flag("--ast-print", ast_print, "Build ASTs and then pretty-print them");
app.add_flag("--ast-dump-filter", ast_dump_filter, "Use with -ast-dump or -ast-print to dump/print"
" only AST declaration nodes having a certain substring in a qualified name.");
app.add_flag("--show-clang-ast", show_clang_ast, "Show AST for the given file and exit");
app.add_flag("--show-clang-ast", show_clang_ast, "Show Clang AST for the given file and exit");
app.add_flag("--show-asr", show_asr, "Show ASR for the given file and exit");
app.add_flag("--no-indent", arg_no_indent, "Turn off Indented print ASR/AST");
app.add_flag("--no-color", arg_no_color, "Turn off colored AST/ASR");
Expand Down
2 changes: 1 addition & 1 deletion src/libasr/asdl_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2752,7 +2752,7 @@ def main(argv):
elif subs["MOD"] == "LC":
subs["MOD"] = "LC::AST"
subs["mod"] = "ast"
subs["lcompiler"] = "lpython"
subs["lcompiler"] = "lc"
else:
subs["lcompiler"] = "lfortran"
is_asr = (mod.name.upper() == "ASR")
Expand Down

0 comments on commit 443cdf2

Please sign in to comment.