Fix vera++ rule to find expressions without space after parentheses (#3776)

Regex didn't include some characters that may occur after ')'

JerryScript-DCO-1.0-Signed-off-by: Rafal Walczyna r.walczyna@samsung.com
This commit is contained in:
Rafal Walczyna
2020-05-22 14:37:59 +02:00
committed by GitHub
parent 5d6069176b
commit 876622a061
16 changed files with 30 additions and 30 deletions
@@ -22,7 +22,7 @@ proc check_part_of_the_file {file line_num col_start col_end} {
set line [getLine $file $line_num]
set line [string range $line $col_start $col_end]
if {[regexp {\)\w} $line]} {
if {[regexp {\)[\w\(&~=]} $line]} {
report $file $line_num "there should be exactly one space after right parentheses"
}
}