From bbf8689af866146b80dcc932c72e1fd021056dcf Mon Sep 17 00:00:00 2001 From: CamVan Nguyen Date: Mon, 21 Nov 2011 14:34:09 -0600 Subject: Support for system and target attributes. Support for endianness and 32bit platforms. Miscellaneous changes requested by cronus. Change-Id: I696ea556a9f35ec88defff217ece0a6c4e6802f3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/511 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/usr/hwpf/ifcompiler/initCompiler.lex | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/usr/hwpf/ifcompiler/initCompiler.lex') diff --git a/src/usr/hwpf/ifcompiler/initCompiler.lex b/src/usr/hwpf/ifcompiler/initCompiler.lex index 9abdaded3..cc811e017 100755 --- a/src/usr/hwpf/ifcompiler/initCompiler.lex +++ b/src/usr/hwpf/ifcompiler/initCompiler.lex @@ -24,6 +24,7 @@ // dg02 SW058986 dgilbert 02/28/11 More noticeable fail for missing col headers // andrewg 09/19/11 Updates based on review // camvanng 11/08/11 Added support for attribute enums +// camvanng 11/16/11 Support system & target attributes // End Change Log *********************************************************************************/ /** * @file initCompiler.lex @@ -212,6 +213,8 @@ scom_data { g_coltype = INIT_SCOMD; return INIT_SCOMD;} END_INITFILE return INIT_ENDINITFILE; +<*>SYS\. yymore(); + <*>ENUM_{ID} { yylval.str_ptr = new std::string(yytext); return ATTRIBUTE_ENUM; } -- cgit v1.2.3