mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
Lexer2
- Migrated ::dequote method from Lexer.
This commit is contained in:
parent
be80bc4ea3
commit
aab93b2cda
4 changed files with 43 additions and 29 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue