aboutsummaryrefslogtreecommitdiff
path: root/lib/qsp_expression.mly
diff options
context:
space:
mode:
Diffstat (limited to 'lib/qsp_expression.mly')
-rw-r--r--lib/qsp_expression.mly2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/qsp_expression.mly b/lib/qsp_expression.mly
index d1680f3..3d758c4 100644
--- a/lib/qsp_expression.mly
+++ b/lib/qsp_expression.mly
@@ -81,7 +81,7 @@ unary_operator:
let index = match brackets with
| None ->
(* No declaration, consider index at 0 *)
- Some (Analyzer.Expression.integer dummy_pos "0")
+ None
| Some other -> other in
Analyzer.Expression.{ pos = $loc ; name ; index }
}