commit | 12c09f44cb291b1ecc4074cb3a55775b375fa8b2 | [log] [tgz] |
---|---|---|
author | Jens Geyer <jensg@apache.org> | 周日 8月 25 14:16:27 2013 +0200 |
committer | Jens Geyer <jensg@apache.org> | 周日 8月 25 14:17:32 2013 +0200 |
tree | d5f3ea4eaf9e21709321c8aa3dd353f363bf6114 | |
parent | d9120c9fbdf9cde8da35dd2634987e7c07089652 [diff] [blame] |
THRIFT-667 Period should not be allowed in identifier names Patch: Jens Geyer
diff --git a/compiler/cpp/src/main.h b/compiler/cpp/src/main.h index cb6d27a..46ad835 100644 --- a/compiler/cpp/src/main.h +++ b/compiler/cpp/src/main.h
@@ -58,6 +58,11 @@ void failure(const char* fmt, ...); /** + * Check simple identifier names + */ +void validate_simple_identifier(const char* identifier); + +/** * Check constant types */ void validate_const_type(t_const* c);