-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add options --copy COPYBOOK and --include HEADER to cobc
The --copy option can be used to include copybooks before parsing files, for example to perform replacements or include COBOL prototypes. The --include option can be used to include a HEADER in the generated C file, for example to perform verification of external calls combined with -fstatic-call.
- Loading branch information
lefessan
committed
Jan 31, 2024
1 parent
47ffbd8
commit e36a124
Showing
12 changed files
with
276 additions
and
23 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,4 +1,18 @@ | ||
|
||
2023-10-12 Fabrice Le Fessant <[email protected]> | ||
|
||
* cobc.c, codegen.c: new option --include FILE, to #include | ||
additional files in the C generated code. Such files can be | ||
used to statically check the number of arguments in static | ||
calls, for example. The files are put into quotes, unless | ||
they start by '<'. Since C files are compiled in a temp dir, | ||
quoted files should be absolute paths. Implementing FR #176 | ||
|
||
2023-10-11 Fabrice Le Fessant <[email protected]> | ||
|
||
* cobc.c, pplex.l: new option --copy COPYBOOK, to include a COPYBOOK | ||
before reading the source file | ||
|
||
2023-11-29 Fabrice Le Fessant <[email protected]> | ||
|
||
* cobc.c (cobc_clean_up): when save-temps specifies a directory, | ||
|
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
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.