Branch: Tag:

2016-12-17

2016-12-17 13:56:45 by Martin Nilsson <nilsson@fastmail.com>

Identifiers can no longer contain non-ascii whitespaces. wide_isidchar can now also easily be upgraded to disallow other special characters.

1406:    }   }    - static inline int wide_isidchar( int c ) { -  return WIDE_ISIDCHAR(c); - } -  +    static struct pike_string *gobble_identifier (struct cpp *this, const PCHARP data, ptrdiff_t *pos)   {    ptrdiff_t p = *pos;
1922:      #define PUSH_STRING0(X,Y,Z) add_quoted_string( X,Y,0,Z)   #define PUSH_STRING_SHIFT(X,Y,Z,A) add_quoted_string(X,Y,Z,A) - #define WC_ISIDCHAR wide_isidchar +    /*    * Generic macros    */