beder
|
0b2e0dd32b
|
Centralized the error messages to one location.
|
2008-07-08 20:31:48 +00:00 |
|
beder
|
2f5c19fa00
|
Combined the myriad ScannerExceptions and ParserExceptions to a single ParserException class that has a message and a line/column position in the file where the error occurred.
|
2008-07-08 05:48:38 +00:00 |
|
beder
|
146122f455
|
Renamed the stream member functions get() and eat().
|
2008-06-30 22:34:10 +00:00 |
|
beder
|
6efc5614ec
|
Moved the input stream, together with line/column info, into its own class, which allowed some other stuff just to pass the stream, and not have to be a member of Scanner.
|
2008-06-29 06:32:13 +00:00 |
|
beder
|
8dfb5c0ea8
|
Refactored common scalar scanning code (from plain, quoted, and block) to one function.
|
2008-06-29 05:45:41 +00:00 |
|
beder
|
70afd130ad
|
Added simple keys.
There's a bug (and question): should we test simple keys' validity BEFORE stuff or AFTER stuff?
|
2008-06-28 06:36:59 +00:00 |
|
beder
|
fb9176a054
|
Added quoted scalars (with escaping).
Refactored some common whitespace-parsing code in scanning both scalars.
Implemented the flow collection tokens.
|
2008-06-27 23:11:46 +00:00 |
|