Marcin Siodelski
|
3d18318f68
|
[4236] Updated copyright dates in all files.
|
2015-12-16 15:28:44 +01:00 |
|
Marcin Siodelski
|
fe9dd86d20
|
[4236] Replaced license text in all files containing it.
|
2015-12-16 13:37:29 +01:00 |
|
JINMEI Tatuya
|
4baf3a4dca
|
[2572] introduced a special source size of "unknown".
this will help handle special cases like using the lexer with stdin
associated with a pipe.
|
2013-01-10 15:23:29 -08:00 |
|
JINMEI Tatuya
|
76ca31298b
|
[2572] documented additional exceptions from InputSource wrt getting size.
|
2013-01-09 18:19:47 -08:00 |
|
JINMEI Tatuya
|
e81f84bdab
|
[2572] added MasterLexer::getTotalSourceSize().
|
2013-01-09 17:31:14 -08:00 |
|
JINMEI Tatuya
|
989e0535b0
|
[2572] added InputSource::getPosition() to return the current positio of src.
|
2013-01-09 17:03:27 -08:00 |
|
JINMEI Tatuya
|
b32cd0ea87
|
[2572] added InputSource::getSize() to know the total size of the source.
|
2013-01-09 16:32:56 -08:00 |
|
Michal 'vorner' Vaner
|
83053b85d9
|
[2375] Don't propagate exceptions from internal namespace
Move the ReadError exception into the MasterLexer. That way, it is in
public namespace, so people can expect to see it.
|
2012-11-19 16:57:08 +01:00 |
|
JINMEI Tatuya
|
82ad5754e3
|
[master] Merge branch 'trac2371'
|
2012-11-07 13:17:34 -08:00 |
|
JINMEI Tatuya
|
430b6e2f07
|
[2371] move the definition of END_OF_STREAM from test to the main impl .cc.
based on review discussions. it makes sense as we cannot assume its address
is never needed in non test applications.
|
2012-11-06 08:56:50 -08:00 |
|
Mukund Sivaraman
|
24862b62d9
|
[2369] Make InputSource non-copyable
|
2012-11-06 10:03:15 +05:30 |
|
Mukund Sivaraman
|
31745f2d59
|
[2369] Add TODOs to remove saveLine() and compact() later
|
2012-11-06 10:00:04 +05:30 |
|
Mukund Sivaraman
|
265fb98ba1
|
[2369] Make constructors explicit
|
2012-11-06 09:46:34 +05:30 |
|
Mukund Sivaraman
|
9af419deb6
|
[2369] Add InputSource::mark() as a combination of saveLine() and compact()
|
2012-11-04 22:44:08 +05:30 |
|
Mukund Sivaraman
|
ed1a2ad7df
|
[2369] Use the more specialized std::ifstream instead of std::fstream
|
2012-11-04 21:40:33 +05:30 |
|
JINMEI Tatuya
|
d0a51e7f91
|
[2371] define END_OF_STREAM within InputSource to avoid duplicate def.
unfortunately this requires another usual workaround in the test, so
it was also made.
|
2012-11-02 13:41:39 -07:00 |
|
Mukund Sivaraman
|
80b227af0b
|
[2369] Move exceptions to the top of class
|
2012-11-02 09:59:16 +05:30 |
|
Mukund Sivaraman
|
a2090f1d57
|
[2369] Throw OpenError when opening the input file fails
|
2012-11-02 09:57:30 +05:30 |
|
Mukund Sivaraman
|
e32617d592
|
[2369] Explain how compact() affects ungetAll()
|
2012-11-01 10:40:00 +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
|
b27d601b91
|
[2369] Constify name_
|
2012-11-01 09:48:55 +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 |
|