summaryrefslogtreecommitdiff
path: root/usr.bin/lex
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/lex')
-rw-r--r--usr.bin/lex/flex.skl8
-rw-r--r--usr.bin/lex/flexdef.h6
-rw-r--r--usr.bin/lex/initscan.c10
-rw-r--r--usr.bin/lex/misc.c8
4 files changed, 16 insertions, 16 deletions
diff --git a/usr.bin/lex/flex.skl b/usr.bin/lex/flex.skl
index ad57eaf58ee..afcfd0847b6 100644
--- a/usr.bin/lex/flex.skl
+++ b/usr.bin/lex/flex.skl
@@ -1,9 +1,9 @@
-/* $OpenBSD: flex.skl,v 1.4 1996/12/10 22:22:00 millert Exp $ */
+/* $OpenBSD: flex.skl,v 1.5 1997/07/25 21:05:28 mickey Exp $ */
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
- * $Header: /cvs/OpenBSD/src/usr.bin/lex/flex.skl,v 1.4 1996/12/10 22:22:00 millert Exp $
+ * $Header: /cvs/OpenBSD/src/usr.bin/lex/flex.skl,v 1.5 1997/07/25 21:05:28 mickey Exp $
*/
#define FLEX_SCANNER
@@ -39,7 +39,7 @@ class istream;
#else /* ! __cplusplus */
-#if __STDC__
+#ifdef __STDC__
#define YY_USE_PROTOS
#define YY_USE_CONST
@@ -359,7 +359,7 @@ static int yy_top_state YY_PROTO(( void ));
#ifdef YY_MALLOC_DECL
YY_MALLOC_DECL
#else
-#if __STDC__
+#ifdef __STDC__
#ifndef __cplusplus
#include <stdlib.h>
#endif
diff --git a/usr.bin/lex/flexdef.h b/usr.bin/lex/flexdef.h
index de675407fee..a6c76e811e5 100644
--- a/usr.bin/lex/flexdef.h
+++ b/usr.bin/lex/flexdef.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: flexdef.h,v 1.3 1996/07/13 22:21:59 millert Exp $ */
+/* $OpenBSD: flexdef.h,v 1.4 1997/07/25 21:05:28 mickey Exp $ */
/* flexdef - definitions file for flex */
@@ -28,7 +28,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-/* @(#) $Header: /cvs/OpenBSD/src/usr.bin/lex/flexdef.h,v 1.3 1996/07/13 22:21:59 millert Exp $ (LBL) */
+/* @(#) $Header: /cvs/OpenBSD/src/usr.bin/lex/flexdef.h,v 1.4 1997/07/25 21:05:28 mickey Exp $ (LBL) */
#include <stdio.h>
#include <ctype.h>
@@ -82,7 +82,7 @@
#endif
#ifndef PROTO
-#if __STDC__
+#ifdef __STDC__
#define PROTO(proto) proto
#else
#define PROTO(proto) ()
diff --git a/usr.bin/lex/initscan.c b/usr.bin/lex/initscan.c
index cd0c069913f..4c5351eee12 100644
--- a/usr.bin/lex/initscan.c
+++ b/usr.bin/lex/initscan.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: initscan.c,v 1.4 1996/12/10 22:22:01 millert Exp $ */
+/* $OpenBSD: initscan.c,v 1.5 1997/07/25 21:05:29 mickey Exp $ */
#line 2 "scan.c"
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
- * $Header: /cvs/OpenBSD/src/usr.bin/lex/initscan.c,v 1.4 1996/12/10 22:22:01 millert Exp $
+ * $Header: /cvs/OpenBSD/src/usr.bin/lex/initscan.c,v 1.5 1997/07/25 21:05:29 mickey Exp $
*/
#define FLEX_SCANNER
@@ -35,7 +35,7 @@
#else /* ! __cplusplus */
-#if __STDC__
+#ifdef __STDC__
#define YY_USE_PROTOS
#define YY_USE_CONST
@@ -1272,7 +1272,7 @@ char *yytext;
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-/* $Header: /cvs/OpenBSD/src/usr.bin/lex/initscan.c,v 1.4 1996/12/10 22:22:01 millert Exp $ */
+/* $Header: /cvs/OpenBSD/src/usr.bin/lex/initscan.c,v 1.5 1997/07/25 21:05:29 mickey Exp $ */
#include "flexdef.h"
#include "parse.h"
@@ -1388,7 +1388,7 @@ static int yy_top_state YY_PROTO(( void ));
#ifdef YY_MALLOC_DECL
YY_MALLOC_DECL
#else
-#if __STDC__
+#ifdef __STDC__
#ifndef __cplusplus
#include <stdlib.h>
#endif
diff --git a/usr.bin/lex/misc.c b/usr.bin/lex/misc.c
index d5d5843cf73..9ebc0cf28a4 100644
--- a/usr.bin/lex/misc.c
+++ b/usr.bin/lex/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.3 1996/07/13 22:22:09 millert Exp $ */
+/* $OpenBSD: misc.c,v 1.4 1997/07/25 21:05:30 mickey Exp $ */
/* misc - miscellaneous flex routines */
@@ -28,7 +28,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-/* $Header: /cvs/OpenBSD/src/usr.bin/lex/misc.c,v 1.3 1996/07/13 22:22:09 millert Exp $ */
+/* $Header: /cvs/OpenBSD/src/usr.bin/lex/misc.c,v 1.4 1997/07/25 21:05:30 mickey Exp $ */
#include "flexdef.h"
@@ -540,7 +540,7 @@ Char array[];
case 'r': return '\r';
case 't': return '\t';
-#if __STDC__
+#ifdef __STDC__
case 'a': return '\a';
case 'v': return '\v';
#else
@@ -727,7 +727,7 @@ register int c;
case '\r': return "\\r";
case '\t': return "\\t";
-#if __STDC__
+#ifdef __STDC__
case '\a': return "\\a";
case '\v': return "\\v";
#endif