]> granicus.if.org Git - flex/commit
Changed several pointers to istream (and ostream) to references in c++-only sections...
authorMightyjo <mightyjo@gmail.com>
Tue, 27 Oct 2015 03:35:00 +0000 (20:35 -0700)
committerMightyjo <mightyjo@gmail.com>
Sun, 8 Nov 2015 07:25:24 +0000 (23:25 -0800)
commit336a1deaa57975f34cd732d656d1c0cbe3d5233a
treecc64e82040d1a9a1498d2b3437b1cd0d01c7229b
parent5acd407ed42462c34783d7a31b3f7b1c34125c61
Changed several pointers to istream (and ostream) to references in c++-only sections of the skeleton.

Patched up a variety of expected errors caused by changing istream* to istream&.

Added a stray 'make' at line 545.  Oops.

Changed the buffer_state struct to store std::streambuf* instead of std::istream* for C++ mode.  Changed interfaces in FlexLexer.h to take std::istream& instead of *.  Backward compatibility temporarily broken.

Patched up backward compatibility with reasonable behavior in the presence of null pointers.

Re-added backward-compatible versions of the yyFlexLexer methods that take iostream pointers.  All tests passing.
src/FlexLexer.h
src/flex.skl