Quoting
- Removed automatic dequoting by the Lexer. - Implemented Lexer::dequote for manual control. - Variant dequotes string values when appropriate. - Fixed some unit tests that became wrong.
This commit is contained in:
@@ -1637,7 +1637,9 @@ void CLI::desugarFilterPlainArgs ()
|
||||
op.tag ("FILTER");
|
||||
reconstructed.push_back (op);
|
||||
|
||||
A rhs ("argPattern", "'" + a->attribute ("raw") + "'");
|
||||
std::string pattern = a->attribute ("raw");
|
||||
Lexer::dequote (pattern);
|
||||
A rhs ("argPattern", "'" + pattern + "'");
|
||||
rhs.tag ("LITERAL");
|
||||
rhs.tag ("FILTER");
|
||||
reconstructed.push_back (rhs);
|
||||
|
||||
Reference in New Issue
Block a user