summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/parser
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/errl/parser')
-rwxr-xr-xsrc/usr/errl/parser/genErrlParsers.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/errl/parser/genErrlParsers.pl b/src/usr/errl/parser/genErrlParsers.pl
index b1093dbbe..14feb8bf8 100755
--- a/src/usr/errl/parser/genErrlParsers.pl
+++ b/src/usr/errl/parser/genErrlParsers.pl
@@ -325,7 +325,8 @@ foreach my $file (@reasonCodeFiles)
# in reasoncode.H files
if($term_rc_tag)
{
- my $line = $1." = 0x".$rcToValueHash{$namespace}->{$1};
+ my $line = $1." = 0x".
+ $rcToValueHash{$namespace}->{$1}.",";
push @taggedLines, $line;
$printEnum = 1;
$term_rc_tag = 0;
@@ -350,7 +351,8 @@ foreach my $file (@reasonCodeFiles)
# in reasoncode.H files
if($term_rc_tag)
{
- my $line = $1." = 0x".$rcToValueHash{$namespace}->{$1};
+ my $line = $1." = 0x".
+ $rcToValueHash{$namespace}->{$1}.",";
push @taggedLines, $line;
$printEnum = 1;
$term_rc_tag = 0;
OpenPOWER on IntegriCloud