Alexander
1698b47b65
Use nullptr instead of 0 or NULL (clang-tidy warns) ( #603 )
2018-07-02 23:59:04 -05:00
Jesse Beder
148da47114
Update documentation for Scanner and AnchorDict, and fix formatting.
2016-05-12 23:05:28 -05:00
Jesse Beder
0c8a539361
Fix warnings on visual studio, including changing unsigned to std::size_t
2015-01-24 14:38:22 -06:00
Jesse Beder
06bf012d81
clang-format
2014-03-23 20:08:54 -05:00
Jesse Beder
5fd25df859
Run IWYU
2014-03-22 22:46:04 -05:00
Jesse Beder
9b4db068bb
Run clang-format
2014-03-22 12:49:16 -05:00
Jesse Beder
68dd9b5d18
Fixed bug where the parser doesn't find the end of a map or seq flow
2012-06-09 14:39:00 -05:00
Jesse Beder
3e94c0a037
Switched the 'pragma once' to only happen on MSVC, or gcc >= 3.4 (it was causing trouble on the sun compiler)
2011-09-06 00:16:03 -05:00
Jesse Beder
d6aeb16450
Switched the scanner list of owned indent markers to a ptr_vector
2011-03-03 08:34:30 +00:00
Jesse Beder
f34d60ca65
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
Jesse Beder
a71c03a18b
Merged r366:387 from the jbeder-event-api branch
2010-10-18 06:45:03 +00:00
Jesse Beder
fadc2ad39f
Implemented adjacent key:value pairs when the key is JSON-like
2009-10-29 21:05:48 +00:00
Jesse Beder
8c9c9d90da
Added ability to read compact maps in a flow sequence
2009-10-29 19:41:46 +00:00
Jesse Beder
a372bfdc60
Merged r295:305 from the tags branch to the trunk
2009-10-29 15:48:06 +00:00
Jesse Beder
91163d2296
Allowed solo entries in a flow map to be read as keys with null value
2009-09-05 22:42:01 +00:00
Jesse Beder
75477ade65
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
Jesse Beder
0e1638d7b5
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
Jesse Beder
a1460169e6
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
Jesse Beder
72919adf55
Added header file inclusion guards
2009-07-29 22:27:20 +00:00
Jesse Beder
b1ce042535
Collected pos, line, and column into a Mark struct
2009-07-27 02:56:18 +00:00
Jesse Beder
b3a5a519f2
Merged aliases branch into trunk, changes r100:150
2009-05-22 21:48:05 +00:00
Jesse Beder
907be0660c
Fixed infinite loop bug having to do with simple keys when we hit an unexpected EOF.
2008-09-24 22:45:04 +00:00
Jesse Beder
45322566c7
Set the eol style to native for all files.
2008-09-03 22:20:39 +00:00
Jesse Beder
d45bb667b6
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
Jesse Beder
09d7ab365f
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
Jesse Beder
cadc04ce47
Moved all code to src/ and include/ directories.
2008-07-14 04:33:30 +00:00