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:
Diomidis Spinellis
2008-11-11 17:15:57 +00:00
parent b71c319dc6
commit 46da6c4869
+1 -1
View File
@@ -224,7 +224,7 @@ semicolon: EATSPACE();
case NONSEL: /* ! */
p++;
EATSPACE();
cmd->nonsel = ! cmd->nonsel;
cmd->nonsel = 1;
goto nonsel;
case GROUP: /* { */
p++;