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.
compiler cleanup for SEARCH with improved source references and traci…
…ng + parser cleanup cobc: * parser.y (table_name): check for KEY phrase in SEARCH ALL * parser.y (end_perform_or_dot): fix terminator cleanup, previously freed the wrong cb_tree * parser.y, scanner.l: * distinguish between tokens END / AT_END, ESCAPE / ON_ESCAPE, EXCEPTION / ON_EXCEPTION * renamed tokens NOT_END -> NOT_AT_END, NOT_ON_EXCEPTION -> NOT_EXCEPTION, NOT_OVERFLOW -> NOT_ON_OVERFLOW, NOT_ESCAPE -> NOT_ON_ESCAPE * codegen.c (output_search_all): add WHEN tracing, to keep performance only done after the actual execution * codegen.c (output_search_whens): add SEARCH VARYING tracing * tree.h (struct cb_search), tree.c (cb_build_search), parser.y, typeck.c (cb_emit_search, cb_emit_search_all), codegen.c (output_search_whens, output_search_all): renamed end_stmt in cb_search to at_end, storing pair of AT END (position) and statements * codegen.c (output_search_whens, output_search_all): adjust output of source references for better debugging experience and add AT END tracing
- Loading branch information
sf-mensch
committed
Dec 30, 2021
1 parent
47a9def
commit 3d5aa86
Showing
8 changed files
with
307 additions
and
115 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,23 @@ | ||
|
||
2021-12-30 Simon Sobisch <[email protected]> | ||
|
||
* parser.y (table_name): check for KEY phrase in SEARCH ALL | ||
* parser.y (end_perform_or_dot): fix terminator cleanup, previously freed the | ||
wrong cb_tree | ||
* parser.y, scanner.l: distinguish between tokens END / AT_END, | ||
ESCAPE / ON_ESCAPE, EXCEPTION / ON_EXCEPTION and | ||
renamed tokens NOT_END -> NOT_AT_END, NOT_ON_EXCEPTION -> NOT_EXCEPTION, | ||
NOT_OVERFLOW -> NOT_ON_OVERFLOW, NOT_ESCAPE -> NOT_ON_ESCAPE | ||
* codegen.c (output_search_all): add WHEN tracing, to keep performance only | ||
done after the actual execution | ||
* codegen.c (output_search_whens): add SEARCH VARYING tracing | ||
* tree.h (struct cb_search), tree.c (cb_build_search), parser.y, | ||
typeck.c (cb_emit_search, cb_emit_search_all), | ||
codegen.c (output_search_whens, output_search_all): renamed end_stmt in | ||
cb_search to at_end, storing pair of AT END (position) and statements | ||
* codegen.c (output_search_whens, output_search_all): adjust output of | ||
source references for better debugging experience and add AT END tracing | ||
|
||
2021-12-14 Simon Sobisch <[email protected]> | ||
|
||
* cobc.c (print_fields), codegen.c (output_field_display): only check for | ||
|
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.