add C_ASCII (0x01 .. 0x7F: 7-bit ASCII except NUL)

This commit is contained in:
tg 2017-04-28 12:02:41 +00:00
parent 1e763eeb7b
commit bf0404e331
1 changed files with 3 additions and 1 deletions

4
sh.h
View File

@ -175,7 +175,7 @@
#endif #endif
#ifdef EXTERN #ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.830 2017/04/28 11:51:40 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/sh.h,v 1.831 2017/04/28 12:02:41 tg Exp $");
#endif #endif
#define MKSH_VERSION "R55 2017/04/27" #define MKSH_VERSION "R55 2017/04/27"
@ -1391,6 +1391,8 @@ EXTERN char ifs0;
#define C_ALPHA (CiLOWER | CiUPPER) #define C_ALPHA (CiLOWER | CiUPPER)
/* A‥Z_a‥z alphabetical plus underscore (identifier lead) */ /* A‥Z_a‥z alphabetical plus underscore (identifier lead) */
#define C_ALPHX (CiLOWER | CiUNDER | CiUPPER) #define C_ALPHX (CiLOWER | CiUNDER | CiUPPER)
/* \x01‥\x7F 7-bit ASCII except NUL */
#define C_ASCII (CiALIAS | CiANGLE | CiBRACK | CiCNTRL | CiCOLON | CiCR | CiCURLY | CiDIGIT | CiEQUAL | CiGRAVE | CiHASH | CiLOWER | CiMINUS | CiNL | CiOCTAL | CiPERCT | CiPLUS | CiQC | CiQCL | CiQCM | CiQCX | CiQUEST | CiSP | CiSPX | CiSS | CiTAB | CiUNDER | CiUPPER)
/* \x09\x20 tab and space */ /* \x09\x20 tab and space */
#define C_BLANK (CiSP | CiTAB) #define C_BLANK (CiSP | CiTAB)
/* \x09\x20"' separator for completion */ /* \x09\x20"' separator for completion */