https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119790
Bug ID: 119790
Summary: FE (parser): CONSTANT AS figurative-constant broken
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: cobol
Assignee: unassigned at gcc dot gnu.org
Reporter: simonsobisch at gnu dot org
Target Milestone: ---
This also applies to the common extension level 78
01 const-figurative-1 constant as space.
78 const-figurative-2 value space.
error: syntax error, unexpected SPACES
186 | 01 const-figurative-1 constant as space.
| ^
error: syntax error, unexpected SPACES
187 | 78 const-figurative-2 value space.
| ^
same for low-value and others, so most likely a minor parser issue with bigger
effect.