- Migrated ::dequote method from Lexer.
This commit is contained in:
Paul Beckingham 2015-02-19 21:43:22 -08:00
parent be80bc4ea3
commit aab93b2cda
4 changed files with 43 additions and 29 deletions

View file

@ -30,6 +30,7 @@
#include <Context.h>
#include <Nibbler.h>
#include <Lexer.h>
#include <Lexer2.h>
#include <CLI.h>
#include <Color.h>
#include <text.h>
@ -1638,7 +1639,7 @@ void CLI::desugarFilterPlainArgs ()
reconstructed.push_back (op);
std::string pattern = a->attribute ("raw");
Lexer::dequote (pattern);
Lexer2::dequote (pattern);
A rhs ("argPattern", "'" + pattern + "'");
rhs.tag ("LITERAL");
rhs.tag ("FILTER");