Author: mcslee
Date: Thu Aug 13 19:21:40 2009
New Revision: 803997

URL: http://svn.apache.org/viewvc?rev=803997&view=rev
Log:
THRIFT-561: Add "register" to list of reserved keywords

Reviewed By: dreiss


Modified:
    incubator/thrift/trunk/compiler/cpp/src/thriftl.ll

Modified: incubator/thrift/trunk/compiler/cpp/src/thriftl.ll
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/compiler/cpp/src/thriftl.ll?rev=803997&r1=803996&r2=803997&view=diff
==============================================================================
--- incubator/thrift/trunk/compiler/cpp/src/thriftl.ll (original)
+++ incubator/thrift/trunk/compiler/cpp/src/thriftl.ll Thu Aug 13 19:21:40 2009
@@ -180,6 +180,7 @@
 "private"            { thrift_reserved_keyword(yytext); }
 "protected"          { thrift_reserved_keyword(yytext); }
 "raise"              { thrift_reserved_keyword(yytext); }
+"register"           { thrift_reserved_keyword(yytext); }
 "return"             { thrift_reserved_keyword(yytext); }
 "sizeof"             { thrift_reserved_keyword(yytext); }
 "static"             { thrift_reserved_keyword(yytext); }


Reply via email to