2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-28 12:37:55 +00:00

17 Commits

Author SHA1 Message Date
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