summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/ifcompiler
diff options
context:
space:
mode:
authorCamVan Nguyen <ctnguyen@us.ibm.com>2012-07-12 11:00:34 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-07-16 18:50:45 -0500
commit2aa5e0afac73384aaabe1fe1529898601be1155f (patch)
treeeb91abb9e7c72019b82915eddddeb4778c1e486c /src/usr/hwpf/ifcompiler
parent571c5fc6729ddf06c8e0d08523f1263b179e4ec3 (diff)
downloadblackbird-hostboot-2aa5e0afac73384aaabe1fe1529898601be1155f.tar.gz
blackbird-hostboot-2aa5e0afac73384aaabe1fe1529898601be1155f.zip
SCOM Initfile: Support for "ANY"
Change-Id: I35c3331f98f79852246ce1970e008e6051577931 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1344 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/ifcompiler')
-rwxr-xr-xsrc/usr/hwpf/ifcompiler/initCompiler.lex3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/hwpf/ifcompiler/initCompiler.lex b/src/usr/hwpf/ifcompiler/initCompiler.lex
index 6cd160aba..78bd7acb8 100755
--- a/src/usr/hwpf/ifcompiler/initCompiler.lex
+++ b/src/usr/hwpf/ifcompiler/initCompiler.lex
@@ -46,6 +46,7 @@
// camvanng 06/11/12 Fix shift/reduce warnings from yacc
// camvanng 06/15/12 Ability to do bitwise OR and AND operations
// camvanng 06/27/12 Improve error handling
+// camvanng 07/12/12 Support for "ANY"
// End Change Log *********************************************************************************/
/**
* @file initCompiler.lex
@@ -418,7 +419,7 @@ END_INITFILE return INIT_ENDINITFILE;
}
/* All attributes start with "ATTR_"; then there's "any". */
-<*>ATTR_{ID}|"any" {
+<*>ATTR_{ID}|"any"|"ANY" {
yylval.str_ptr = new std::string(yytext); return INIT_ID;
}
OpenPOWER on IntegriCloud