From 0c5bf7f5ec5ca57fa11c4ec1f2e8897836cdaf9e Mon Sep 17 00:00:00 2001 From: Kaushik Kulkarni Date: Thu, 16 May 2019 15:48:37 -0500 Subject: [PATCH] Minor fix in Slice parsing --- pymbolic/parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pymbolic/parser.py b/pymbolic/parser.py index 8f199b3..5f69c06 100644 --- a/pymbolic/parser.py +++ b/pymbolic/parser.py @@ -384,6 +384,8 @@ class Parser(object): left_exp = _join_to_slice(left_exp, next_expr) pstate.assign(expr_pstate) + did_something = True + elif next_tag is _comma and _PREC_COMMA > min_precedence: # The precedence makes the comma left-associative. -- GitLab