summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/ifcompiler/initCompiler.lex
diff options
context:
space:
mode:
authorCamVan Nguyen <ctnguyen@us.ibm.com>2011-11-21 14:34:09 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-11-29 14:26:26 -0600
commitbbf8689af866146b80dcc932c72e1fd021056dcf (patch)
treeabebeafa8d74e9931c9154f6c26a05f53ac9de6e /src/usr/hwpf/ifcompiler/initCompiler.lex
parentcb7b72b8c3ac212bbafe93fed0bd5c0e7f1e3571 (diff)
downloadblackbird-hostboot-bbf8689af866146b80dcc932c72e1fd021056dcf.tar.gz
blackbird-hostboot-bbf8689af866146b80dcc932c72e1fd021056dcf.zip
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 <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/ifcompiler/initCompiler.lex')
-rwxr-xr-xsrc/usr/hwpf/ifcompiler/initCompiler.lex3
1 files changed, 3 insertions, 0 deletions
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;
}
OpenPOWER on IntegriCloud