mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
Added folded and literal scalars.
This commit is contained in:
parent
01ef70a6f9
commit
43ea59a4ed
7 changed files with 153 additions and 23 deletions
3
exp.h
3
exp.h
|
@ -43,6 +43,9 @@ namespace YAML
|
|||
const RegEx EscSingleQuote = RegEx("\'\'");
|
||||
const RegEx EscBreak = RegEx('\\') + Break;
|
||||
|
||||
const RegEx ChompIndicator = RegEx("+-", REGEX_OR);
|
||||
const RegEx Chomp = (ChompIndicator + Digit) || (Digit + ChompIndicator) || ChompIndicator || Digit;
|
||||
|
||||
// and some functions
|
||||
std::string Escape(std::istream& in, int& length);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue