diff options
author | 2000-06-19 03:53:34 +0000 | |
---|---|---|
committer | 2000-06-19 03:53:34 +0000 | |
commit | 1fe33145a0a9b1310a0413297a8deb871918b27f (patch) | |
tree | a49980b8f48836a617da8010fb9ef237771dbe5b /lib/libcurses/tinfo/comp_scan.c | |
parent | IPv6 IPsec, outbound direction. (diff) | |
download | wireguard-openbsd-1fe33145a0a9b1310a0413297a8deb871918b27f.tar.xz wireguard-openbsd-1fe33145a0a9b1310a0413297a8deb871918b27f.zip |
ncurses-5.0-20000617
Diffstat (limited to 'lib/libcurses/tinfo/comp_scan.c')
-rw-r--r-- | lib/libcurses/tinfo/comp_scan.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libcurses/tinfo/comp_scan.c b/lib/libcurses/tinfo/comp_scan.c index d2b7b78ecb8..77ac5d3043c 100644 --- a/lib/libcurses/tinfo/comp_scan.c +++ b/lib/libcurses/tinfo/comp_scan.c @@ -50,7 +50,7 @@ #include <term_entry.h> #include <tic.h> -MODULE_ID("$From: comp_scan.c,v 1.42 2000/04/01 19:08:36 tom Exp $") +MODULE_ID("$From: comp_scan.c,v 1.44 2000/06/10 21:59:21 tom Exp $") /* * Maximum length of string capability we'll accept before raising an error. @@ -66,6 +66,9 @@ long _nc_comment_start = 0; /* start of comment range before name */ long _nc_comment_end = 0; /* end of comment range before name */ long _nc_start_line = 0; /* start line of current entry */ +struct token _nc_curr_token = +{0, 0, 0}; + /***************************************************************************** * * Token-grabbing machinery @@ -472,6 +475,8 @@ _nc_trans_string(char *ptr, char *last) } if (ch == '?') { *(ptr++) = '\177'; + if (_nc_tracing) + _nc_warning("Allow ^? as synonym for \\177"); } else { if ((ch &= 037) == 0) ch = 128; |