Skip to content

Initial addition of CONSTANT SECTION#278

Draft
RamyGeorge wants to merge 10 commits intoOCamlPro:gitside-gnucobol-3.xfrom
RamyGeorge:based-storage-parsing
Draft

Initial addition of CONSTANT SECTION#278
RamyGeorge wants to merge 10 commits intoOCamlPro:gitside-gnucobol-3.xfrom
RamyGeorge:based-storage-parsing

Conversation

@RamyGeorge
Copy link

Summary

This pull request introduces the CONSTANT SECTION as defined for Fujitsu Language reference. Its intended purpose is to introduce VALUES that do not change during program execution. For now, It expects record description entries.

Changes

  • Addition of the grammar for CONSTANT SECTION
  • New Flag for COBC_HD_CONSTANT_SECTION

Motivation

Specific section for adding CONSTANT values while enforcing proper syntax

Tests

Test for the grammar is added at tests/testsuite.src/syn_definition.at
Test for MOVE with a CONSTANT is expected to fail for now


Please give any feedback and/or any changes required to fulfill current PR goal.

Loading
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.

3 participants