Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
work on improved debugging experience and refactoring
cobc: * codegen.c (output_label, output_label_c): extracted from output_stmt * codegen.c (output_label_c): added output of C labels for paragraphs using prefix PARAGRAPH and, to make them distinct, its label id as suffix * codegen.c (output_search_all, output_search_whens): if no AT END position token is available, use the start token instead * typeck.c (cb_emit_search, cb_emit_search_all), tree.h: return created search tree * parser.y (_end_search): if search has no AT END create an implicit one at END-SEARCH for better trace and debugging * codegen.c (output_assign, output_if, output_debug_item): extracted from output_stmt * typeck.c (cb_emit, cb_emit_list): changed from defines to inline functions, now returning the tree that was emitted
- Loading branch information