BSD 4_4 release
[unix-history] / usr / src / usr.bin / f77 / pass1.vax / lex.c
index f5947f5..4c04f1c 100644 (file)
@@ -1,12 +1,15 @@
-/*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+/*-
+ * Copyright (c) 1980 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This module is believed to contain source code proprietary to AT&T.
+ * Use and redistribution is subject to the Berkeley Software License
+ * Agreement and your Software Agreement with AT&T (Western Electric).
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)lex.c      5.3 (Berkeley) %G%";
-#endif not lint
+static char sccsid[] = "@(#)lex.c      5.5 (Berkeley) 4/12/91";
+#endif /* not lint */
 
 /*
  * lex.c
 
 /*
  * lex.c
@@ -38,6 +41,7 @@ static char sccsid[] = "@(#)lex.c     5.3 (Berkeley) %G%";
 
 #include "defs.h"
 #include "tokdefs.h"
 
 #include "defs.h"
 #include "tokdefs.h"
+#include "pathnames.h"
 
 # define BLANK ' '
 # define MYQUOTE (2)
 
 # define BLANK ' '
 # define MYQUOTE (2)
@@ -174,7 +178,7 @@ else        {
 
        if( (fp = fopen(temp, "r")) == NULL )
                {
 
        if( (fp = fopen(temp, "r")) == NULL )
                {
-               sprintf(temp, "/usr/include/%s", name);
+               sprintf(temp, "%s/%s", _PATH_INCLUDES, name);
                fp = fopen(temp, "r");
                }
        if(fp)
                fp = fopen(temp, "r");
                }
        if(fp)