Skip to content
Permalink
Browse files

[sipify] fix negative value assignment

  • Loading branch information
3nids committed Jun 7, 2017
1 parent 542dc85 commit 67b01dee0cd6deb8e3532b9443479c98d7cb4fee
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/sipify.pl
@@ -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");
};

0 comments on commit 67b01de

Please sign in to comment.
You can’t perform that action at this time.