make more things compile without isNil

This commit is contained in:
Araq 2018-08-22 15:12:02 +02:00
commit dbd21d670c
3 changed files with 3 additions and 4 deletions

View file

@ -315,7 +315,7 @@ checkOptions({optFilenames, optReplace}, "filenames", "replace")
if optStdin in options:
pattern = ask("pattern [ENTER to exit]: ")
if isNil(pattern) or pattern.len == 0: quit(0)
if pattern.len == 0: quit(0)
if optReplace in options:
replacement = ask("replacement [supports $1, $# notations]: ")