Skip to content

Fix false warning IMPLIED PIC#288

Open
RamyGeorge wants to merge 1 commit into
OCamlPro:gitside-gnucobol-3.xfrom
RamyGeorge:fix-clean
Open

Fix false warning IMPLIED PIC#288
RamyGeorge wants to merge 1 commit into
OCamlPro:gitside-gnucobol-3.xfrom
RamyGeorge:fix-clean

Conversation

@RamyGeorge

Copy link
Copy Markdown

@GitMensch GitMensch left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is only 1 part missing: cobc/field.c, then it can go upstream - ideally with the minor things noted here finished

Can you please either do a follow-up commit or push a revised version (doesn't make a difference for upstream) with that?

Comment thread cobc/field.c Outdated
cb_tree first_value = get_first_value (f);
if (first_value && CB_NUMERIC_LITERAL_P (first_value)) {
const cb_tree x = CB_TREE (f);
if (f->pic){

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor formatting; space after )

Comment thread tests/testsuite.src/syn_screen.at
Comment thread tests/testsuite.src/syn_screen.at Outdated
Comment on lines +915 to +918
WORKING-STORAGE SECTION.
01 x PIC X.
01 num PIC 9.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those are not used, so the four lines should be deleted

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that file wasn't changed in a long time - please add , 2026 to the file's header

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants