summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/fapi/fapiParseAttributeInfo.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwpf/fapi/fapiParseAttributeInfo.pl')
-rwxr-xr-xsrc/usr/hwpf/fapi/fapiParseAttributeInfo.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/hwpf/fapi/fapiParseAttributeInfo.pl b/src/usr/hwpf/fapi/fapiParseAttributeInfo.pl
index 2d7051b5e..333e68440 100755
--- a/src/usr/hwpf/fapi/fapiParseAttributeInfo.pl
+++ b/src/usr/hwpf/fapi/fapiParseAttributeInfo.pl
@@ -45,6 +45,8 @@
# mjjones 10/18/11 Support multiple attr files and
# multi-line descriptions
# camvanng 10/20/11 Changed i_pTarget to "const" ptr
+# camvanng 11/09/11 Prepend "ENUM_" to attribute
+# enums
#
# End Change Log ******************************************************
@@ -266,7 +268,7 @@ foreach my $argnum (1 .. $#ARGV)
{
# Remove leading spaces
$val =~ s/^\s+//;
- print AIFILE " $attr->{id}_${val},\n";
+ print AIFILE " ENUM_$attr->{id}_${val},\n";
}
print AIFILE "};\n";
OpenPOWER on IntegriCloud