Added deprecated keywords JPAD/NOJPAD for legacy code. :-)
authorShamus Hammons <jlhamm@acm.org>
Sat, 30 Mar 2013 22:42:41 +0000 (17:42 -0500)
committerShamus Hammons <jlhamm@acm.org>
Sat, 30 Mar 2013 22:42:41 +0000 (17:42 -0500)
direct.c
direct.h
mntab
version.h

index 6f94402c4c0502564942368273a17cac1b0781eb..31852c8e2f9213c3a3a0e3735406aa9c57b95fab 100644 (file)
--- a/direct.c
+++ b/direct.c
@@ -83,6 +83,8 @@ int (*dirtab[])() = {
        d_ccundef,                      // 51 .ccundef
        d_print,                        // 52 .print
        d_cstruct,                      // 53 .cstruct
+       d_jpad,                         // 54 .jpad (deprecated)
+       d_nojpad,                       // 55 .nojpad (deprecated)
 };
 
 
@@ -1557,3 +1559,17 @@ int d_undmac(void)
        return 0;
 }
 
+
+int d_jpad(void)
+{
+       warn("JPAD directive is deprecated/non-functional");
+       return OK;
+}
+
+
+int d_nojpad(void)
+{
+       warn("NOJPAD directive is deprecated/non-functional");
+       return OK;
+}
+
index adbf7868121e0ba6a1bcb7363730066c0dfae70a..be2643d9babf2d0f4306a1c682840cf9f022fb14 100644 (file)
--- a/direct.h
+++ b/direct.h
@@ -69,5 +69,7 @@ int d_fail(void);
 int symlist(int(*)());
 int abs_expr(VALUE *);
 int d_cstruct(void);
+int d_jpad(void);
+int d_nojpad(void);
 
 #endif // __DIRECT_H__
diff --git a/mntab b/mntab
index fbceb879201c9881f85be7b74cca4c6d196b6590..f07715ce651ed311cdf5eff65e76e916e235cc49 100644 (file)
--- a/mntab
+++ b/mntab
@@ -89,6 +89,10 @@ ccundef  51
 print  52
 .cstruct       53
 cstruct        53
+.jpad  54
+jpad   54
+.nojpad        55
+nojpad 55
 .if    500
 if     500
 .else  501
index dd47ccdbdc639de3f3923741c35af4a00684c2a7..ae702c630003eced992ca9d07b2eaa6715be1e8b 100644 (file)
--- a/version.h
+++ b/version.h
@@ -13,6 +13,6 @@
 
 #define MAJOR   1                      // Major version number
 #define MINOR   2                      // Minor version number
-#define PATCH   4                      // Patch release number
+#define PATCH   5                      // Patch release number
 
 #endif // __VERSION_H__