From 97e86c912ee33e9e75e68f9c193d78879f91d542 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Thu, 8 Aug 2002 03:10:54 +0000 Subject: A few bug fixes and change the config to case insensitive and be more tolerant of errors. --- util/epist/parser.hh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'util/epist/parser.hh') 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(); -- cgit v1.2.3