aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-20 01:47:47 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-20 01:47:47 +1000
commitb2d4e85f172fecfba0a0fcd136f6d8178ff9b90c (patch)
tree7b2c912908ebaea78389789007690c5f2de72755 /common.h
parenta5868d67f5548923c4452622a24c42ff90f23188 (diff)
Make any character except '/' legal in function names
darcs-hash:20061019154747-ac50b-f3ab0df1085b91ec0eadcceddb23f03d5b0247aa.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 5aa6c276..f6cfcc0a 100644
--- a/common.h
+++ b/common.h
@@ -211,6 +211,14 @@ wchar_t *wcsvarname( const wchar_t *str );
/**
+ Test if the given string is a valid function name.
+
+ \return null if this is a valid name, and a pointer to the first invalid character otherwise
+*/
+
+wchar_t *wcsfuncname( const wchar_t *str );
+
+/**
Test if the given string is valid in a variable name
\return 1 if this is a valid name, 0 otherwise