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 20:25:58 +02:00
parent c699078246
commit 3df32101e7
2 changed files with 23 additions and 13 deletions
+1
View File
@@ -39,6 +39,7 @@ Daniel Galloway [email protected]
Daniel Hagerty [email protected]
David J. MacKenzie [email protected]
David Kastrup [email protected]
David Michael [email protected]
Dennis Clarke [email protected]
Derek Clegg [email protected]
Derek M. Jones [email protected]