Skip to content

Commit

Permalink
[sipify] fix negative value assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jun 7, 2017
1 parent 542dc85 commit 67b01de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sipify.pl
Expand Up @@ -613,7 +613,7 @@ sub detect_comment_block{
last;
}
do {no warnings 'uninitialized';
my $enum_decl = $LINE =~ s/(\s*\w+)(\s+SIP_\w+(?:\([^()]+\))?)?(?:\s*=\s*[\w\s\d<|]+.*?)?(,?).*$/$1$2$3/r;
my $enum_decl = $LINE =~ s/(\s*\w+)(\s+SIP_\w+(?:\([^()]+\))?)?(?:\s*=\s*[\w\s\d<|-]+.*?)?(,?).*$/$1$2$3/r;
$enum_decl = fix_annotations($enum_decl);
write_output("ENU3", "$enum_decl\n");
};
Expand Down

0 comments on commit 67b01de

Please sign in to comment.