Add otherwise production
@@ -170,9 +170,12 @@ module.exports = grammar({
$._variable,
$.binary,
$.arithmetic_sequence,
- $.list_comprehension
+ $.list_comprehension,
+ $.otherwise
),
+ otherwise: $ => 'otherwise',
+
arithmetic_sequence: $ => seq(
'[',
choice(
