Commit Graph

21 Commits

Author SHA1 Message Date
jbeder
b2c5328e6a Implemented adjacent key:value pairs when the key is JSON-like 2009-10-29 21:05:48 +00:00
jbeder
404506658c Added ability to read compact maps in a flow sequence 2009-10-29 19:41:46 +00:00
jbeder
b8a2c396a3 Merged r295:305 from the tags branch to the trunk 2009-10-29 15:48:06 +00:00
jbeder
189e7e1a93 Removed crt stuff (we can do memory leak checking in Linux easier) 2009-10-27 14:55:01 +00:00
jbeder
4f73c96cff Fixed bug in plain scalar folding 2009-10-20 14:47:16 +00:00
jbeder
eb8d78f3a3 Fixed flow folding, and made the separation slightly cleaner (but the whole scanscalar thing could use a major refactoring) 2009-09-08 05:24:06 +00:00
jbeder
e1d3109bd7 Fixed last newline of folded scalar bug 2009-09-07 06:54:38 +00:00
jbeder
df1d440804 Fixed bug in trailing newlines of plain scalars 2009-09-07 06:42:03 +00:00
jbeder
223177db90 Fixed bug with complex keys (and simplified the parsing for flow maps) 2009-09-06 21:52:56 +00:00
jbeder
529a01f3eb Allowed solo entries in a flow map to be read as keys with null value 2009-09-05 22:42:01 +00:00
jbeder
960a2234ec Finished refactoring of simple keys so that they can refer to multiple tokens at a single level 2009-09-05 03:49:38 +00:00
jbeder
ababdbe25d Moved token enums into Token scope 2009-09-05 02:28:11 +00:00
jbeder
42124aeee6 Fixed bug with omitted keys/values in a flow map 2009-09-02 21:39:57 +00:00
jbeder
990686d3d2 Fixed bug in anchors with no content. This involved refactoring the 'implicit sequence' concept (where a map and a sequence start on the same indent, but we read the sequence as more indented since the '-' is visually an indent). 2009-08-24 22:56:54 +00:00
jbeder
f69bd13b0f Collected pos, line, and column into a Mark struct 2009-07-27 02:56:18 +00:00
jbeder
c5aeef5ab8 Fixed bug with simple keys that are quoted scalars 2009-07-25 18:58:41 +00:00
jbeder
cd192b73f4 Fixed bug that didn't allow multiple docs in a stream (using only "---") 2009-06-25 03:05:09 +00:00
jbeder
cd7a9fc098 Fixed several bugs from the new file i/o setup.
In particular:
1. Windows CR/LF weren't read properly (issue #11)
2. Scanning wasn't reading EOF properly
3. Documents may be empty (this was old, I think)
Also fixed some VS2008 warnings on /W4.
2009-02-07 07:57:13 +00:00
jbeder
0c384260a4 Set the eol style to native for all files. 2008-09-03 22:20:39 +00:00
beder
7e47a0b754 Replaced the queue of Token pointers with values.
We were getting memory leaks (as told by the CRT detectors, which I also added), and there's really no reason (as long as we're careful) to use pointers there.
2008-07-20 05:02:01 +00:00
beder
68793e425e Moved all code to src/ and include/ directories. 2008-07-14 04:33:30 +00:00