diff options
author | axel <axel@liljencrantz.se> | 2005-10-20 21:27:54 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-10-20 21:27:54 +1000 |
commit | ce27f08a44fd18978477bd418f3f0f731368c843 (patch) | |
tree | baa1c30cccc7a2f5328bc132b998d729576a9b24 /expand.h | |
parent | 83fcc293055a8eb9b94171cc0c665a9691d08f01 (diff) |
Use private use area for internal non-unicode characters
darcs-hash:20051020112754-ac50b-a640e5eb3c72c44671bfd5d0e4d6805018da5b48.gz
Diffstat (limited to 'expand.h')
-rw-r--r-- | expand.h | 33 |
1 files changed, 21 insertions, 12 deletions
@@ -51,23 +51,32 @@ #define DIRECTORIES_ONLY 32 -/** Character represeting a home directory */ -#define HOME_DIRECTORY 0xfffffffc +/* + Use unencoded private-use keycodes for internal characters +*/ +#define EXPAND_RESERVED 0xf000 -/** Character represeting process expantion */ -#define PROCESS_EXPAND 0xfffffffb +enum +{ + /** Character represeting a home directory */ + HOME_DIRECTORY = EXPAND_RESERVED, -/** Character representing variable expantion */ -#define VARIABLE_EXPAND 0xfffffffa + /** Character represeting process expantion */ + PROCESS_EXPAND, + + /** Character representing variable expantion */ + VARIABLE_EXPAND, -/** Character representing the start of a bracket expantion */ -#define BRACKET_BEGIN 0xfffffff9 + /** Character representing the start of a bracket expantion */ + BRACKET_BEGIN, -/** Character representing the end of a bracket expantion */ -#define BRACKET_END 0xfffffff8 + /** Character representing the end of a bracket expantion */ + BRACKET_END, -/** Character representing separation between two bracket elements */ -#define BRACKET_SEP 0xfffffff7 + /** Character representing separation between two bracket elements */ + BRACKET_SEP, +} + ; /** Character for separating two array elements. We use 30, i.e. the ascii record separator since that seems logical. */ #define ARRAY_SEP 0x1e |