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.
cobc: * pplex.l (next_word_is_comment_paragraph_name): extracted from (ppinput) * pplex.l (get_word): new function to extract word and use in (is_condition_directive_clause, next_word_is_comment_paragraph_name) * reserved.c, scanner.l, tree.h: renamed cb_memcpy_upper to cb_memcpy_upper, as it does not follow strncpy rules * reserved.c (cb_strcasecmp) streamlined from glibc implementation * reserved.c, cobc.h: exported cb_strcasecmp * cobc.c, parser.y, ppparse.y, typeck.c: replaced locale-aware strcasecmp with cb_strcasecmp where possible * cobc.c, codegen.c, field.c, help.c, parser.y, pplex.l, ppparse.y, scanner.l, tree.c, cobc.h: cleanup of header inclusion (stdio.h, string.h, strings.h)
- Loading branch information
sf-mensch
committed
Mar 11, 2022
1 parent
1b9cd15
commit e53dd3a
Showing
15 changed files
with
247 additions
and
162 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,19 @@ | ||
|
||
2022-03-10 Simon Sobisch <[email protected]> | ||
|
||
* pplex.l (next_word_is_comment_paragraph_name): extracted from (ppinput) | ||
* pplex.l (get_word): new function to extract word and use in | ||
(is_condition_directive_clause, next_word_is_comment_paragraph_name) | ||
* reserved.c, scanner.l, tree.h: renamed cb_memcpy_upper to | ||
cb_memcpy_upper, as it does not follow strncpy rules | ||
* reserved.c (cb_strcasecmp) streamlined from glibc implementation | ||
* reserved.c, cobc.h: exported cb_strcasecmp | ||
* cobc.c, parser.y, ppparse.y, typeck.c: replaced locale-aware | ||
strcasecmp with cb_strcasecmp where possible | ||
* cobc.c, codegen.c, field.c, help.c, parser.y, pplex.l, ppparse.y, | ||
scanner.l, tree.c, cobc.h: cleanup of header inclusion (stdio.h, | ||
string.h, strings.h) | ||
|
||
2022-03-03 Simon Sobisch <[email protected]> | ||
|
||
* ppparse.y (ppp_set_value): parse MicroFocus style $SET (numlit); | ||
|
@@ -242,7 +257,7 @@ | |
2021-09-02 Simon Sobisch <[email protected]> | ||
|
||
* reserved.c (cb_toupper): extracted and used in different places | ||
* reserved.c (cb_strncpy_upper), tree.h: renamed + exported function | ||
* reserved.c (cb_memcpy_upper), tree.h: renamed + exported function | ||
* scanner.l (copy_word_in_quotes, copy_two_words_in_quotes): internally | ||
upper-case when handling reserved word adjustment | ||
* reserved.c (is_invalid_word): word checks extended, cobc does not | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
#include "config.h" | ||
|
||
#include <stdio.h> | ||
#include <string.h> | ||
|
||
#include "cobc.h" | ||
|
||
|
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.