diff options
author | axel <axel@liljencrantz.se> | 2006-06-02 09:04:38 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-02 09:04:38 +1000 |
commit | 67f216fa5524de9813206734391bca5948a4c81f (patch) | |
tree | a9a13ff7498378c2f62d3ecf7dbd7aea014531d8 /common.h | |
parent | 8986e05b941532ff1ef8ea6d97b551ea243771f2 (diff) |
Highlight invalid use of variable expansion operator
darcs-hash:20060601230438-ac50b-165ec1515e0e02674a992a1f0309a567aa6828de.gz
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -151,6 +151,14 @@ wchar_t *wcsdupcat2( const wchar_t *a, ... ); wchar_t *wcsvarname( wchar_t *str ); +/** + Test if the given string is valid in a variable name + + \return 1 if this is a valid name, 0 otherwise +*/ + +int wcsvarchr( wchar_t chr ); + /** A wcswidth workalike. Fish uses this since the regular wcswidth seems flaky. |