Fix compiler warnings by creating a new macro "is_eof" that does the PEOF
authorPeter Avalos <pavalos@dragonflybsd.org>
Thu, 28 Sep 2006 04:19:40 +0000 (04:19 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Thu, 28 Sep 2006 04:19:40 +0000 (04:19 +0000)
commita3143cf4408435edb13d4e50bcb92647974fe9a3
treeb13f849c4090c248bcc38757f8c43775622a34c4
parent6e2ec3f262f2a378e0dff0b5627554999ca65e9e
Fix compiler warnings by creating a new macro "is_eof" that does the PEOF
comparison, and don't use it if the character comes from a string.  Taken
from FreeBSD.
bin/sh/mksyntax.c
bin/sh/parser.c