warnings: address -Wnull-dereference in reader.c

Based on a patch by David Michael.
http://lists.gnu.org/archive/html/bison-patches/2018-07/msg00000.html

* src/reader.c (find_start): New, extracted from...
(check_and_convert_grammar): here.
This commit is contained in:
Akim Demaille
2018-08-05 16:29:00 +02:00
parent c699078246
commit 3df32101e7
2 changed files with 23 additions and 13 deletions

1
THANKS
View File

@@ -39,6 +39,7 @@ Daniel Galloway dg1751@att.com
Daniel Hagerty hag@gnu.org
David J. MacKenzie djm@gnu.org
David Kastrup dak@gnu.org
David Michael fedora.dm0@gmail.com
Dennis Clarke dclarke@blastwave.org
Derek Clegg derek@me.com
Derek M. Jones derek@knosof.co.uk