; RSX native command file built on Wed Jun 12 16:16:19 1985
.IFNINS XCC INS $CC
.IFNINS XAS INS $AS
;
; Compile LEX
;
pip LEXLEX.H=sr:LEXLEX.H
pip YTAB.H=sr:YTAB.H
xcc sr:BASE.C -a 
.IF <EXSTAT> NE 1 .EXIT
xcc sr:DFA.C -a 
.IF <EXSTAT> NE 1 .EXIT
xcc sr:ECLOSU.C -a 
.IF <EXSTAT> NE 1 .EXIT
xcc sr:LEX.C -a 
.IF <EXSTAT> NE 1 .EXIT
xcc sr:IMPURE.C -a 
.IF <EXSTAT> NE 1 .EXIT
xcc sr:MIN.C -a 
.IF <EXSTAT> NE 1 .EXIT
xcc sr:OUT1.C -a 
.IF <EXSTAT> NE 1 .EXIT
xcc sr:OUT2.C -a 
.IF <EXSTAT> NE 1 .EXIT
xcc sr:LEXSRT.C -a 
.IF <EXSTAT> NE 1 .EXIT
xcc sr:YTAB.C -a 
.IF <EXSTAT> NE 1 .EXIT
.OPEN LEX.TMP
.ENABLE DATA
;
; ODL FOR BUILDING LEX ON RSX11M.
; BOB DENNY  29-MAY-81
; BOB DENNY  19-MAR-82
; BOB DENNY  03-MAY-82
; BOB DENNY  30-OCT-82   PUT SOME FCS JUNK IN OVERLAY. REORGANIZE FOR
;			 SIMPLICITY.
;
.NAME	OVR1
.NAME   FCSJNK
.NAME	LXPROC
.NAME	PARSER
.ROOT	L0,L1
;
L0:	.FCTR	LEX-IMPURE-OUT2-LB:[1,1]C/LB
;
L1:	.FCTR	OVR1-*(FCS,STAT,PARS)
;
FCS:	.FCTR	FCSJNK-(F1,F2)
;
F1:	.FCTR	LB:[1,1]SYSLIB/LB:.CSI1:.CSI2
F2:	.FCTR	LB:[1,1]SYSLIB/LB:OPEN-(OP1,OP2)
;
OP1:	.FCTR	LB:[1,1]SYSLIB/LB:CREATE:CLOSE:DEL:FINIT:MKDL:OPFNB:RQLCB
OP2:	.FCTR	LB:[1,1]SYSLIB/LB:PARSE
;
STAT:	.FCTR	LXPROC-LEXSRT-DFA-BASE-ECLOSU-MIN-OUT1-LB:[1,1]C/LB/LB
;
PARS:	.FCTR	PARSER-YTAB-LB:[1,1]C/LB/LB
;
.END

.DISABLE DATA
.CLOSE
.OPEN LEX.TKB
.ENABLE DATA
LEX/CP=LEX.TMP/MP
STACK = 3000
TASK  = ...LEX
;DON'T TRY TO USE FCSRES (RBD)
//
.DISABLE DATA
.CLOSE
tkb @LEX.TKB
.IF <EXSTAT> NE 1 .EXIT
pip LEX.TKB;/de
pip LEX.TSK;/pr/wo:r
pip LEX.TMP;/de
pip BASE.OBJ;/de
pip DFA.OBJ;/de
pip ECLOSU.OBJ;/de
pip LEX.OBJ;/de
pip IMPURE.OBJ;/de
pip MIN.OBJ;/de
pip OUT1.OBJ;/de
pip OUT2.OBJ;/de
pip LEXSRT.OBJ;/de
pip YTAB.OBJ;/de
