diff options
author | YamaArashi <shadow962@live.com> | 2017-01-22 21:55:01 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2017-01-22 22:08:38 -0800 |
commit | 535ed69d33072543b543829b86409758cc7f6318 (patch) | |
tree | e7be4a872994d59fcba07a944f0bd1ace185941f /tools/preproc/char_util.h | |
parent | a14cd89b9ca175af2fba4faadd8989e24d1275ce (diff) |
change preproc syntax for C strings
Diffstat (limited to 'tools/preproc/char_util.h')
-rw-r--r-- | tools/preproc/char_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/preproc/char_util.h b/tools/preproc/char_util.h index ab20dbc53..02a6e1ceb 100644 --- a/tools/preproc/char_util.h +++ b/tools/preproc/char_util.h @@ -56,13 +56,13 @@ inline bool IsAsciiPrintable(unsigned char c) return (c >= ' ' && c <= '~'); } -// Returns whether the character can start the identifier of a "{FOO}" constant in strings. +// Returns whether the character can start a C identifier or the identifier of a "{FOO}" constant in strings. inline bool IsIdentifierStartingChar(unsigned char c) { return IsAsciiAlpha(c) || c == '_'; } -// Returns whether the character can be used in the identifier of a "{FOO}" constant in strings. +// Returns whether the character can be used in a C identifier or the identifier of a "{FOO}" constant in strings. inline bool IsIdentifierChar(unsigned char c) { return IsAsciiAlphanum(c) || c == '_'; |