Skip to content

Commit

Permalink
Post-merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Sep 17, 2024
1 parent 6da9719 commit 2f2568c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cobc/pplex.l
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ static int ppwrap (void) {
#include <ctype.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
Expand Down
3 changes: 2 additions & 1 deletion cobc/scanner.l
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ static int yywrap (void) {
#include <ctype.h>
#include <limits.h>

#include <stdio.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
Expand Down Expand Up @@ -1391,7 +1392,7 @@ scan_ebcdic_char (int c)
buff, "(1..256)");
return '?';
}
c--; // in ordinal, i.e. 1..256 -> 0..255
c--; /* in ordinal, i.e. 1..256 -> 0..255 */
#ifdef COB_EBCDIC_MACHINE
return (cob_u8_t) c;
#else
Expand Down

0 comments on commit 2f2568c

Please sign in to comment.