drop unused code

This commit is contained in:
Arpad Ryszka 2018-10-11 23:48:58 +02:00
parent a7dc82ff12
commit 3327e758c5
2 changed files with 0 additions and 10 deletions

View File

@ -64,11 +64,6 @@ range-from = expression;
range-to = expression; range-to = expression;
range:alias = range-from? nl* ":" nl* range-to?; range:alias = range-from? nl* ":" nl* range-to?;
// simple-indexer:alias = primary-expression "[" nl* expression nl* "]";
// range-indexer:alias = primary-expression "[" nl* range nl* "]";
// expression-indexer = simple-indexer | range-indexer;
// symbol-indexer = primary-expression nl* "." nl* symbol;
symbol-index = "." nl* symbol; symbol-index = "." nl* symbol;
expression-index = "[" nl* expression nl* "]"; expression-index = "[" nl* expression nl* "]";
index:alias = symbol-index | expression-index; index:alias = symbol-index | expression-index;
@ -90,8 +85,6 @@ primary-expression:alias = int
| mutable-struct | mutable-struct
| function | function
| effect | effect
// | expression-indexer
// | symbol-indexer
| indexer | indexer
| function-application | function-application
| expression-group; | expression-group;

View File

@ -12,9 +12,6 @@ func TestMMLExp2(t *testing.T) {
} }
t.Run("indexer", func(t *testing.T) { t.Run("indexer", func(t *testing.T) {
// BUG:
// t.Skip()
runTestsSyntax(t, s, []testItem{{ runTestsSyntax(t, s, []testItem{{
title: "mixed indexer", title: "mixed indexer",
text: "a.b[c]", text: "a.b[c]",