Mukund Sivaraman
ed1a2ad7df
[2369] Use the more specialized std::ifstream instead of std::fstream
2012-11-04 21:40:33 +05:30
Mukund Sivaraman
a2090f1d57
[2369] Throw OpenError when opening the input file fails
2012-11-02 09:57:30 +05:30
Mukund Sivaraman
eb92bed532
[2369] Distinguish between EOF and failures in getChar()
2012-11-01 10:35:17 +05:30
Mukund Sivaraman
5ac6e8b56c
[2369] Use a const variable's value for END_OF_STREAM state
2012-11-01 10:20:10 +05:30
Mukund Sivaraman
710bac3516
[2369] Initialize buffer_pos_ with 0
...
This is equivalent code to the former. The former was written such to
drive the point that buffer_pos_ is by default pointing at the end of
the buffer_ vector. At construction, the buffer_ vector is empty, so
both work.
2012-11-01 09:53:32 +05:30
Mukund Sivaraman
6b8bf7d03e
[2369] Rename exception to UngetBeforeBeginning
2012-11-01 09:46:40 +05:30
Mukund Sivaraman
6847454e58
[2369] Rename files to master_lexer_inputsource.{cc,h}
2012-11-01 09:39:35 +05:30