From b2d4e85f172fecfba0a0fcd136f6d8178ff9b90c Mon Sep 17 00:00:00 2001 From: axel Date: Fri, 20 Oct 2006 01:47:47 +1000 Subject: Make any character except '/' legal in function names darcs-hash:20061019154747-ac50b-f3ab0df1085b91ec0eadcceddb23f03d5b0247aa.gz --- common.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common.h') diff --git a/common.h b/common.h index 5aa6c276..f6cfcc0a 100644 --- a/common.h +++ b/common.h @@ -210,6 +210,14 @@ __sentinel wchar_t *wcsdupcat2( const wchar_t *a, ... ); 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 -- cgit v1.2.3