diff options
author | Harald van Dijk <harald@gigawatt.nl> | 2017-01-10 22:37:49 +0100 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2017-01-11 21:04:28 -0500 |
commit | e666829949f82b3d8b7c722f7db5a8af38e93a2c (patch) | |
tree | 66c35561f8e7d18f1f44b84a4d8821da7eac35b1 /po/ru.po | |
parent | 7f263e35204db8ade3f0fb424f4597d7758caf25 (diff) |
c++: Fix yyrestart(NULL) SEGV.
Binding a reference to a dereferenced null pointer is invalid and
compilers optimise away the &file == 0 check. We need a real stream.
yyin is available already, and yyrestart(NULL) is only supported when
yyin will not be used, so there is no harm in just passing in that.
Since we now always have a valid stream, we can skip the null check
too.
Fixes #98.
Diffstat (limited to 'po/ru.po')
0 files changed, 0 insertions, 0 deletions