summaryrefslogtreecommitdiff
path: root/usr/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib')
-rw-r--r--usr/src/lib/libcurses/screen/compiler.h13
-rw-r--r--usr/src/lib/libxcurses/src/tic/tic.h15
2 files changed, 14 insertions, 14 deletions
diff --git a/usr/src/lib/libcurses/screen/compiler.h b/usr/src/lib/libcurses/screen/compiler.h
index c1d6f82be0..e96c396cac 100644
--- a/usr/src/lib/libcurses/screen/compiler.h
+++ b/usr/src/lib/libcurses/screen/compiler.h
@@ -40,8 +40,6 @@
#ifndef _COMPILER_H
#define _COMPILER_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* COPYRIGHT NOTICE
*
@@ -131,11 +129,12 @@ EXTERN int debug_level; /* level of debugging output */
*
*/
-#define BOOLEAN 0 /* Boolean capability */
-#define NUMBER 1 /* Numeric capability */
-#define STRING 2 /* String-valued capability */
-#define CANCEL 3 /* Capability to be cancelled in following tc's */
-#define NAMES 4 /* The names for a terminal type */
+#define BOOLEAN 0 /* Boolean capability */
+#define NUMBER 1 /* Numeric capability */
+#define STRING 2 /* String-valued capability */
+#define CANCEL 3 /* Capability to be cancelled in following tc's */
+#define NAMES 4 /* The names for a terminal type */
+#define UNDEF 5 /* Invalid token type */
#define MAXBOOLS 64 /* Maximum # of boolean caps we can handle */
#define MAXNUMS 64 /* Maximum # of numeric caps we can handle */
diff --git a/usr/src/lib/libxcurses/src/tic/tic.h b/usr/src/lib/libxcurses/src/tic/tic.h
index e66d8d436e..1ed52370c1 100644
--- a/usr/src/lib/libxcurses/src/tic/tic.h
+++ b/usr/src/lib/libxcurses/src/tic/tic.h
@@ -24,8 +24,6 @@
* All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* tic.h Terminal Information Compiler
*
@@ -114,12 +112,15 @@ extern int debug_level; /* level of debugging output */
* The first three are also used in the hash table of capability
* names. The scanner returns one of these values after loading
* the specifics into the global structure curr_token.
+ *
+ * Note that EOF is also, implicitly, a token type.
*/
-#define BOOLEAN 0 /* Boolean capability */
-#define NUMBER 1 /* Numeric capability */
-#define STRING 2 /* String-valued capability */
-#define CANCEL 3 /* Capability to be cancelled in following tc's */
-#define NAMES 4 /* The names for a terminal type */
+#define BOOLEAN 0 /* Boolean capability */
+#define NUMBER 1 /* Numeric capability */
+#define STRING 2 /* String-valued capability */
+#define CANCEL 3 /* Capability to be cancelled in following tc's */
+#define NAMES 4 /* The names for a terminal type */
+#define UNDEF 5 /* Invalid token */
/*
* The global structure in which the specific parts of a