summaryrefslogtreecommitdiff
path: root/util/epist/parser.hh
diff options
context:
space:
mode:
Diffstat (limited to 'util/epist/parser.hh')
-rw-r--r--util/epist/parser.hh8
1 files changed, 7 insertions, 1 deletions
diff --git a/util/epist/parser.hh b/util/epist/parser.hh
index a66e4141..a2370534 100644
--- a/util/epist/parser.hh
+++ b/util/epist/parser.hh
@@ -13,9 +13,15 @@ public:
void setKey(std::string key)
{ _key = key; }
- void setArgument(std::string arg)
+ void setArgumentNum(std::string arg)
{ _arg = arg; }
+ void setArgumentNegNum(std::string arg)
+ { _arg = "-" + arg; }
+
+ void setArgumentStr(std::string arg)
+ { _arg = arg.substr(1, arg.size() - 2); }
+
void setAction(std::string);
void addModifier(std::string);
void endAction();