aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-02 09:04:38 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-02 09:04:38 +1000
commit67f216fa5524de9813206734391bca5948a4c81f (patch)
treea9a13ff7498378c2f62d3ecf7dbd7aea014531d8 /common.h
parent8986e05b941532ff1ef8ea6d97b551ea243771f2 (diff)
Highlight invalid use of variable expansion operator
darcs-hash:20060601230438-ac50b-165ec1515e0e02674a992a1f0309a567aa6828de.gz
Diffstat (limited to 'common.h')
-rw-r--r--common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common.h b/common.h
index 1de6f8de..0466c562 100644
--- a/common.h
+++ b/common.h
@@ -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.