From 0aa220d2e02e982734d05cf3ea840e54d04541eb Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Sat, 30 Mar 2013 17:42:41 -0500 Subject: [PATCH] Added deprecated keywords JPAD/NOJPAD for legacy code. :-) --- direct.c | 16 ++++++++++++++++ direct.h | 2 ++ mntab | 4 ++++ version.h | 2 +- 4 files changed, 23 insertions(+), 1 deletion(-) diff --git a/direct.c b/direct.c index 6f94402..31852c8 100644 --- 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; +} + diff --git a/direct.h b/direct.h index adbf786..be2643d 100644 --- 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 fbceb87..f07715c 100644 --- 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 diff --git a/version.h b/version.h index dd47ccd..ae702c6 100644 --- 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__ -- 2.37.2