summaryrefslogtreecommitdiff
path: root/x2p/a2py.c
diff options
context:
space:
mode:
Diffstat (limited to 'x2p/a2py.c')
-rw-r--r--x2p/a2py.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/x2p/a2py.c b/x2p/a2py.c
index 2f41ca86ec..aa48daa60c 100644
--- a/x2p/a2py.c
+++ b/x2p/a2py.c
@@ -17,6 +17,8 @@
#include "../patchlevel.h"
#endif
#include "util.h"
+#include "../unicode_constants.h"
+#define DELETE_CHAR DELETE_NATIVE
const char *filename;
const char *myname;
@@ -289,11 +291,7 @@ yylex(void)
case ':':
tmp = *s++;
XOP(tmp);
-#ifdef EBCDIC
- case 7:
-#else
- case 127:
-#endif
+ case DELETE_CHAR:
s++;
XTERM('}');
case '}':