Small cleanup

This commit is contained in:
Robin Jadoul 2016-05-31 01:21:03 +02:00
parent 0406aed0ec
commit 7403357b71
1 changed files with 0 additions and 2 deletions

View File

@ -52,7 +52,6 @@ namespace lxs {
string MultiRE::toRe()
{
//FIXME: this does not consider characters that need escaping
return "[" + string(chars.begin(), chars.end()) + "]";
}
@ -220,7 +219,6 @@ namespace lxs {
std::shared_ptr<RE> parseRE(RegexLexer& lex, bool& exit_by_closed_paren, bool inside_parens=false)
{
stack<std::shared_ptr<RE> > stk;
//TODO: report location in regex on error
try {
while (true) {