summaryrefslogtreecommitdiff
path: root/web/c_cpp/cweb/ctang-vms.ch
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/c_cpp/cweb/ctang-vms.ch
Initial commit
Diffstat (limited to 'web/c_cpp/cweb/ctang-vms.ch')
-rw-r--r--web/c_cpp/cweb/ctang-vms.ch35
1 files changed, 35 insertions, 0 deletions
diff --git a/web/c_cpp/cweb/ctang-vms.ch b/web/c_cpp/cweb/ctang-vms.ch
new file mode 100644
index 0000000000..7e538abc27
--- /dev/null
+++ b/web/c_cpp/cweb/ctang-vms.ch
@@ -0,0 +1,35 @@
+This is the change file for CWEB's CTANGLE for VAX/VMS.
+
+created:
+ 01-FEB-1992 ST (Stephan Trebels <trebels@ams02.dnet.gwdg.de>)
+ > include ctype,stdio from textlibrary SYS$SHARE:VAXCDEF.TLB
+ > change banner line to include (VAX/VMS)
+ ? will someone make a CLD interface? (should be easy)
+
+(also modified by Don Knuth to keep version numbers uptodate)
+(these changes not necessary for initial bootstrapping)
+
+@x section 1 (01-FEB-1992 ST)
+@d banner "This is CTANGLE (Version 3.64)\n"
+@y
+@d banner "This is CTANGLE (VAX/VMS Version 3.64)\n"
+@z
+
+@x section 6 (from common.h) (01-FEB-1992 ST)
+#include <stdio.h>
+@y
+#include stdio /* VMS searches Textlibraries faster */
+@z
+
+@x section 62 (01-FEB-1992 ST)
+#include <ctype.h> /* definition of |isalpha|, |isdigit| and so on */
+@y
+#include ctype /* definition of |isalpha|, |isdigit| and so on */
+ /* VMS searches text libraries faster */
+@z
+
+@x section 63 (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 */
+@z