Category:Polyglot:PL/I and PL/M: Difference between revisions

Content added Content deleted
(→‎Implementation: Minor simplification)
(→‎Include Files: Removed declaration of "eof")
Line 54: Line 54:
<br>
<br>
<lang pli>/* pg.inc: PL/I definitions for "polyglot PL/I and PL/M programs" compiled with PL/I */
<lang pli>/* pg.inc: PL/I definitions for "polyglot PL/I and PL/M programs" compiled with PL/I */

declare eof binary( 15 )fixed; /* used to allow the PL/M "EOF" keyword */
/* to appear at the end of the program */
/* in an assignment "EOF = 1;" */
/* the PL/M compiler will ignore any */
/* text after the "EOF" */


%replace true by '1'b, false by '0'b;
%replace true by '1'b, false by '0'b;