diff --git a/src/parse.cpp b/src/parse.cpp index b7b810f..6e3f998 100644 --- a/src/parse.cpp +++ b/src/parse.cpp @@ -297,6 +297,7 @@ std::pair parse_arithmetic(parse_context ctx) } else if(word_eq("$((", ctx)) // arithmetics in arithmetics: equivalent to () { + ctx.i += 3; auto pa = parse_arithmetic(ctx); ret = new arithmetic_parenthesis_t(pa.first); ctx = pa.second;