Skip to content

Commit 67b01de

Browse files
committedJun 7, 2017
[sipify] fix negative value assignment
1 parent 542dc85 commit 67b01de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/sipify.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ sub detect_comment_block{
613613
last;
614614
}
615615
do {no warnings 'uninitialized';
616-
my $enum_decl = $LINE =~ s/(\s*\w+)(\s+SIP_\w+(?:\([^()]+\))?)?(?:\s*=\s*[\w\s\d<|]+.*?)?(,?).*$/$1$2$3/r;
616+
my $enum_decl = $LINE =~ s/(\s*\w+)(\s+SIP_\w+(?:\([^()]+\))?)?(?:\s*=\s*[\w\s\d<|-]+.*?)?(,?).*$/$1$2$3/r;
617617
$enum_decl = fix_annotations($enum_decl);
618618
write_output("ENU3", "$enum_decl\n");
619619
};

0 commit comments

Comments
 (0)
Please sign in to comment.