diff options
Diffstat (limited to 'grammar')
-rw-r--r-- | grammar/first_test.go | 2 | ||||
-rw-r--r-- | grammar/grammar.go | 2 | ||||
-rw-r--r-- | grammar/grammar_test.go | 2 | ||||
-rw-r--r-- | grammar/lalr1_test.go | 2 | ||||
-rw-r--r-- | grammar/lr0_test.go | 2 | ||||
-rw-r--r-- | grammar/parsing_table.go | 2 | ||||
-rw-r--r-- | grammar/parsing_table_test.go | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/grammar/first_test.go b/grammar/first_test.go index 134f4bd..5f128cc 100644 --- a/grammar/first_test.go +++ b/grammar/first_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/nihei9/vartan/spec" + spec "github.com/nihei9/vartan/spec/grammar" ) type first struct { diff --git a/grammar/grammar.go b/grammar/grammar.go index 2e0c8f4..65d232d 100644 --- a/grammar/grammar.go +++ b/grammar/grammar.go @@ -8,7 +8,7 @@ import ( mlcompiler "github.com/nihei9/maleeni/compiler" mlspec "github.com/nihei9/maleeni/spec" verr "github.com/nihei9/vartan/error" - "github.com/nihei9/vartan/spec" + spec "github.com/nihei9/vartan/spec/grammar" ) type astActionEntry struct { diff --git a/grammar/grammar_test.go b/grammar/grammar_test.go index aeeffac..52c7fb8 100644 --- a/grammar/grammar_test.go +++ b/grammar/grammar_test.go @@ -5,7 +5,7 @@ import ( "testing" verr "github.com/nihei9/vartan/error" - "github.com/nihei9/vartan/spec" + spec "github.com/nihei9/vartan/spec/grammar" ) func TestGrammarBuilderOK(t *testing.T) { diff --git a/grammar/lalr1_test.go b/grammar/lalr1_test.go index 2f8074b..d6d0371 100644 --- a/grammar/lalr1_test.go +++ b/grammar/lalr1_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/nihei9/vartan/spec" + spec "github.com/nihei9/vartan/spec/grammar" ) func TestGenLALR1Automaton(t *testing.T) { diff --git a/grammar/lr0_test.go b/grammar/lr0_test.go index b31126e..0d0b134 100644 --- a/grammar/lr0_test.go +++ b/grammar/lr0_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/nihei9/vartan/spec" + spec "github.com/nihei9/vartan/spec/grammar" ) type expectedLRState struct { diff --git a/grammar/parsing_table.go b/grammar/parsing_table.go index fd490b0..e2ba5d0 100644 --- a/grammar/parsing_table.go +++ b/grammar/parsing_table.go @@ -4,7 +4,7 @@ import ( "fmt" "sort" - "github.com/nihei9/vartan/spec" + spec "github.com/nihei9/vartan/spec/grammar" ) type ActionType string diff --git a/grammar/parsing_table_test.go b/grammar/parsing_table_test.go index a699728..fe56722 100644 --- a/grammar/parsing_table_test.go +++ b/grammar/parsing_table_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/nihei9/vartan/spec" + spec "github.com/nihei9/vartan/spec/grammar" ) type expectedState struct { |