Skip to content

preprocessor-findings 9.10 #431

@asatklichov

Description

@asatklichov
%dcl A(4) FIXED INTERNAL RESCAN SCAN; /*must be one option, not both */
%dcl (b), (c), b(lbound(2):5) fixed fixed internal internal;  /*must be not be repeatable */
%dcl (b),(c), b(lbound(2):5) fixed,(m), (n),b(lbound(2):5) fixed fixed; /*must be not be repeatable */
%DECLARE I FIXED BIN(31);
  
 %LOOP: DO I=1 TO 5;  
   PUT LIST ('ITER', I);
 %END LOOP; /*error, spec page 620 */

or another example

%DECLARE I FIXED BIN(31);
 
%LOOP: DO I=1 TO 5;  
  PUT LIST ('ITER', I);
%LOOP: END LOOP; /*error, spec page 620 */
Image
  • 6. Once 'NOT' compiler option used with '¬' and in code we use '!', it does not report error, or it shows misleading error (Update NOT compiler option #435)

%PROCESS OR('|'), NOT ('¬') ; /* NOT ('!');*/

Image

or misleading error 'Character '!' with decimal value 33 does not belong to the PL/I character set. It will be ignored'

Image

Metadata

Metadata

Assignees

Labels

priority-criticalNeeds to be resolved in 1 sprint, ideally in 1-7 dayspriority-highShould be resolved in 1-2 sprints

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions