Mostly finished refactoring the scalar scanning.

This commit is contained in:
Jesse Beder
2008-06-30 01:31:23 +00:00
parent 5f8252ee6f
commit 0683cbf859
6 changed files with 192 additions and 378 deletions

1
exp.h
View File

@@ -25,6 +25,7 @@ namespace YAML
const RegEx DocStart = RegEx("---") + (BlankOrBreak || RegEx(EOF) || RegEx());
const RegEx DocEnd = RegEx("...") + (BlankOrBreak || RegEx(EOF) || RegEx());
const RegEx DocIndicator = DocStart || DocEnd;
const RegEx BlockEntry = RegEx('-') + (BlankOrBreak || RegEx(EOF));
const RegEx Key = RegEx('?'),
KeyInFlow = RegEx('?') + BlankOrBreak;