Commit Graph

18 Commits

Author SHA1 Message Date
jbeder
31d3fbb931 Switched the scanner list of owned indent markers to a ptr_vector 2011-03-03 08:34:30 +00:00
jbeder
e227456982 Flipped the include guard and the pragma, and don't use the pragma for early versions of gcc (< 3.4) 2011-03-02 06:11:41 +00:00
jbeder
3ffcfb3a83 Merged r366:387 from the jbeder-event-api branch 2010-10-18 06:45:03 +00:00
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
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
98fc0e2586 Refactored simple keys so that validating doesn't require popping indents, and so popping indents (and adding the end map) is independent of when we validate the simple key 2009-09-05 02:51:09 +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
543d9f9730 Added header file inclusion guards 2009-07-29 22:27:20 +00:00
jbeder
f69bd13b0f Collected pos, line, and column into a Mark struct 2009-07-27 02:56:18 +00:00
jbeder
070ee1dc99 Merged aliases branch into trunk, changes r100:150 2009-05-22 21:48:05 +00:00
jbeder
edc7b61520 Fixed infinite loop bug having to do with simple keys when we hit an unexpected EOF. 2008-09-24 22:45:04 +00:00
jbeder
0c384260a4 Set the eol style to native for all files. 2008-09-03 22:20:39 +00:00
beder
963e7abbfd Small changes in the iterator code.
Changed the public interface of Scanner to resemble an STL container.
2008-07-23 04:38:18 +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