forked from OCamlPro/gnucobol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename -fdump-tree to -dump-ast, less misleading
- Loading branch information
Showing
11 changed files
with
1,488 additions
and
1,773 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
|
||
* cobc.c, dump_tree.c: new options to dump the AST in text format: | ||
--dump-tree=<file>, and --dump-tree-flags=<flags>. Format is | ||
either OCaml (for files with .ml extension) or JSON. If file | ||
ends with '/', then it is expected to be a directory and the | ||
file will be generated with the program id as name. Flags are | ||
'+/-' for enable/disable, 'c' for cb_common, 'l' for locations, | ||
't' for types, 'p' for pointers, 'i' for indentation, 'n' for | ||
newlines, 'A' for all infos, 'O' for OCaml format, 'J' for | ||
JSON format, 'm' for message. Env variables COB_DUMP_TREE and | ||
COB_DUMP_TREE_FLAGS can also be used to set these flags. | ||
* Makefile.am, cobc.c, dump_ast.c: new options to dump the AST in | ||
text format: --dump-ast=<file>, and | ||
--dump-ast-flags=<flags>. Format is not standard for now, because | ||
it is only for debugging the AST. Flags are prefixed with '+/-' | ||
for enable/disable, 'i' for indentation, 'z' for zero/null | ||
fields. Env variables COB_DUMP_AST and COB_DUMP_AST_FLAGS can also | ||
be used to set these flags. |
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
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
Oops, something went wrong.