summaryrefslogtreecommitdiff
path: root/web/c_cpp/cweb/cweav-vms.ch
diff options
context:
space:
mode:
Diffstat (limited to 'web/c_cpp/cweb/cweav-vms.ch')
-rw-r--r--web/c_cpp/cweb/cweav-vms.ch35
1 files changed, 18 insertions, 17 deletions
diff --git a/web/c_cpp/cweb/cweav-vms.ch b/web/c_cpp/cweb/cweav-vms.ch
index b6f46559cc..7d80d57c1e 100644
--- a/web/c_cpp/cweb/cweav-vms.ch
+++ b/web/c_cpp/cweb/cweav-vms.ch
@@ -13,25 +13,26 @@ modified:
(also modified by Don Knuth to keep version numbers uptodate)
@x section 1 (01-FEB-1992 ST)
-@d banner "This is CWEAVE (Version 3.64)\n"
+@d banner "This is CWEAVE (Version 4.2)"
@y
-@d banner "This is CWEAVE (VAX/VMS Version 3.64)\n"
+@d banner "This is CWEAVE (VAX/VMS Version 4.2)"
@z
-@x section 6 (from common.h) (01-FEB-1992 ST)
-#include <stdio.h>
+@x section 3 (01-FEB-1992 ST)
+#include <ctype.h> /* definition of |@!isalpha|, |@!isdigit| and so on */
+#include <stdbool.h> /* definition of |@!bool|, |@!true| and |@!false| */
+#include <stddef.h> /* definition of |@!ptrdiff_t| */
+#include <stdint.h> /* definition of |@!uint8_t| and |@!uint16_t| */
+#include <stdlib.h> /* definition of |@!getenv| and |@!exit| */
+#include <stdio.h> /* definition of |@!printf| and friends */
+#include <string.h> /* definition of |@!strlen|, |@!strcmp| and so on */
@y
-#include stdio /* VMS searches Textlibraries faster */
-@z
-
-@x section 38 (1991 JM) (01-FEB-1992 ST)
-#include <ctype.h> /* definition of |isalpha|, |isdigit| and so on */
-@y
-#include ctype /* VMS searches Textlibraries faster */
-@z
-
-@x section 39 (01-FEB-1992 ST)
-@d isxalpha(c) ((c)=='_') /* non-alpha character allowed in identifier */
-@y
-@d isxalpha(c) ((c)=='_' || (c)=='$') /* non-alpha characters allowed in id */
+#include ctype /* definition of |@!isalpha|, |@!isdigit| and so on */
+ /* VMS searches text libraries faster */
+#include stdbool /* definition of |@!bool|, |@!true| and |@!false| */
+#include stddef /* definition of |@!ptrdiff_t| */
+#include stdint /* definition of |@!uint8_t| and |@!uint16_t| */
+#include stdlib /* definition of |@!getenv| and |@!exit| */
+#include stdio /* definition of |@!printf| and friends */
+#include string /* definition of |@!strlen|, |@!strcmp| and so on */
@z