Fix the code to conform to the "or more" part of the following POSIX
specification and regression test regress:25. "A function can be preceded by one or more '!' characters, in which case the function shall be applied if the addresses do not select the pattern space." MFC after: 2 weeks
This commit is contained in:
parent
b71c319dc6
commit
46da6c4869
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184854
@ -224,7 +224,7 @@ semicolon: EATSPACE();
|
||||
case NONSEL: /* ! */
|
||||
p++;
|
||||
EATSPACE();
|
||||
cmd->nonsel = ! cmd->nonsel;
|
||||
cmd->nonsel = 1;
|
||||
goto nonsel;
|
||||
case GROUP: /* { */
|
||||
p++;
|
||||
|
Loading…
Reference in New Issue
Block a user