Jesse Beder
|
5f8252ee6f
|
Moved scalar scanning-related parameters to a struct.
Renamed the valid/possible tokens to a single variable status with enums valid, invalid, and unverified.
|
2008-06-29 17:39:33 +00:00 |
|
Jesse Beder
|
0d5a97bffe
|
Refactored common scalar scanning code (from plain, quoted, and block) to one function.
|
2008-06-29 05:45:41 +00:00 |
|
Jesse Beder
|
49a75b2d78
|
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 |
|
Jesse Beder
|
de29068110
|
Added stream input to the regular expressions, greatly simplifying the usage (in particular, we no longer have to specify the number of characters to be checked).
|
2008-06-27 19:07:30 +00:00 |
|
Jesse Beder
|
4e435b1321
|
Wrote a simplified regular expression parser to make life easier (it only does single matches; i.e., no one-or-more matches, etc.).
Fixed some of the whitespace/line break matching.
|
2008-06-27 08:20:41 +00:00 |
|