TypeCobolTeam / TypeCobol

TypeCobol is an Incremental Cobol parser for IBM Enterprise Cobol 6 for zOS syntax. TypeCobol is also an extension of Cobol 85 language which can then be converted to Cobol85.
Other
78 stars 26 forks source link

WI #2632 Use correct default encoding for alphanumeric literals written using hex notation #2633

Closed fm-117 closed 4 months ago

fm-117 commented 4 months ago

For #2632 but does not fix it fully yet as we still need a way for the client to override the default value, if need be.

fm-117 commented 4 months ago

Converting to draft as i'd like to improve it a bit.

fm-117 commented 4 months ago

Ok now we are using the CODEPAGE option to choose the encoding for alphanumeric literals. This is slightly better than a hard-coded default value in source because clients will now have a way to change it, as long as they have control over the TypeCobolOptions instance used by the parser.

We still need: