diff options
author | Christian Heimes <christian@cheimes.de> | 2013-07-22 14:34:28 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-07-22 14:34:28 (GMT) |
commit | 7b3902a20fa0f58b11824c2226c30f9cd0e71e88 (patch) | |
tree | 03365765fe487adbc811c5ce77847445a4eb75e3 /Parser | |
parent | de0e63bd9cf3f4f4833664988d2ec03b75c0d5a1 (diff) | |
parent | 1eb0cb12ac3a805a6966d60105a836764d08ff7b (diff) | |
download | cpython-7b3902a20fa0f58b11824c2226c30f9cd0e71e88.zip cpython-7b3902a20fa0f58b11824c2226c30f9cd0e71e88.tar.gz cpython-7b3902a20fa0f58b11824c2226c30f9cd0e71e88.tar.bz2 |
Some compilers complain about 'control reaches end of non-void function'
because they don't understand that Py_FatalError() terminates the program.
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/grammar1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/grammar1.c b/Parser/grammar1.c index 0952796..7136463 100644 --- a/Parser/grammar1.c +++ b/Parser/grammar1.c @@ -56,5 +56,6 @@ PyGrammar_LabelRepr(label *lb) } else { Py_FatalError("invalid label"); + return NULL; } } |