file reorg, pathnames.h, paths.h
[unix-history] / usr / src / old / lex / lmain.c
index 1422f66..a9f10eb 100644 (file)
@@ -1,7 +1,8 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)lmain.c    4.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)lmain.c    4.4 (Berkeley) %G%";
 #endif
 
 #endif
 
+# include "pathnames.h"
 # include "ldefs.c"
 # include "once.c"
 
 # include "ldefs.c"
 # include "once.c"
 
@@ -100,7 +101,7 @@ main(argc,argv)
 # ifdef DEBUG
        free3core();
 # endif
 # ifdef DEBUG
        free3core();
 # endif
-       if (ZCH>NCH) cname="/usr/lib/lex/ebcform";
+       if (ZCH>NCH) cname=_PATH_EBCFORM;
        fother = fopen(ratfor?ratname:cname,"r");
        if(fother == NULL)
                error("Lex driver missing, file %s",ratfor?ratname:cname);
        fother = fopen(ratfor?ratname:cname,"r");
        if(fother == NULL)
                error("Lex driver missing, file %s",ratfor?ratname:cname);