diff options
Diffstat (limited to 'grammar')
-rw-r--r-- | grammar/first_test.go | 4 | ||||
-rw-r--r-- | grammar/grammar_test.go | 4 | ||||
-rw-r--r-- | grammar/lalr1_test.go | 4 | ||||
-rw-r--r-- | grammar/lexical/compiler_test.go | 2 | ||||
-rw-r--r-- | grammar/lexical/dfa/dfa_test.go | 4 | ||||
-rw-r--r-- | grammar/lexical/dfa/tree_test.go | 4 | ||||
-rw-r--r-- | grammar/lexical/parser/parser_test.go | 4 | ||||
-rw-r--r-- | grammar/lr0_test.go | 4 | ||||
-rw-r--r-- | grammar/parsing_table_test.go | 4 | ||||
-rw-r--r-- | grammar/test_helper_test.go | 2 |
10 files changed, 18 insertions, 18 deletions
diff --git a/grammar/first_test.go b/grammar/first_test.go index 1eff309..ea1a61c 100644 --- a/grammar/first_test.go +++ b/grammar/first_test.go @@ -4,8 +4,8 @@ import ( "strings" "testing" - "github.com/nihei9/vartan/grammar/symbol" - "github.com/nihei9/vartan/spec/grammar/parser" + "grammar/symbol" + "spec/grammar/parser" ) type first struct { diff --git a/grammar/grammar_test.go b/grammar/grammar_test.go index e3cf668..4a3c6a0 100644 --- a/grammar/grammar_test.go +++ b/grammar/grammar_test.go @@ -4,8 +4,8 @@ import ( "strings" "testing" - verr "github.com/nihei9/vartan/error" - "github.com/nihei9/vartan/spec/grammar/parser" + verr "error" + "spec/grammar/parser" ) func TestGrammarBuilderOK(t *testing.T) { diff --git a/grammar/lalr1_test.go b/grammar/lalr1_test.go index c57dc5c..d08468d 100644 --- a/grammar/lalr1_test.go +++ b/grammar/lalr1_test.go @@ -4,8 +4,8 @@ import ( "strings" "testing" - "github.com/nihei9/vartan/grammar/symbol" - "github.com/nihei9/vartan/spec/grammar/parser" + "grammar/symbol" + "spec/grammar/parser" ) func TestGenLALR1Automaton(t *testing.T) { diff --git a/grammar/lexical/compiler_test.go b/grammar/lexical/compiler_test.go index f2ef0f2..3336048 100644 --- a/grammar/lexical/compiler_test.go +++ b/grammar/lexical/compiler_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - spec "github.com/nihei9/vartan/spec/grammar" + spec "spec/grammar" ) func TestLexSpec_Validate(t *testing.T) { diff --git a/grammar/lexical/dfa/dfa_test.go b/grammar/lexical/dfa/dfa_test.go index ae71875..9af9aeb 100644 --- a/grammar/lexical/dfa/dfa_test.go +++ b/grammar/lexical/dfa/dfa_test.go @@ -4,8 +4,8 @@ import ( "strings" "testing" - "github.com/nihei9/vartan/grammar/lexical/parser" - spec "github.com/nihei9/vartan/spec/grammar" + "grammar/lexical/parser" + spec "spec/grammar" ) func TestGenDFA(t *testing.T) { diff --git a/grammar/lexical/dfa/tree_test.go b/grammar/lexical/dfa/tree_test.go index e0abe64..188fe95 100644 --- a/grammar/lexical/dfa/tree_test.go +++ b/grammar/lexical/dfa/tree_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/nihei9/vartan/grammar/lexical/parser" - spec "github.com/nihei9/vartan/spec/grammar" + "grammar/lexical/parser" + spec "spec/grammar" ) func TestByteTree(t *testing.T) { diff --git a/grammar/lexical/parser/parser_test.go b/grammar/lexical/parser/parser_test.go index d6cc4a8..e876d3b 100644 --- a/grammar/lexical/parser/parser_test.go +++ b/grammar/lexical/parser/parser_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - spec "github.com/nihei9/vartan/spec/grammar" - "github.com/nihei9/vartan/ucd" + spec "spec/grammar" + "ucd" ) func TestParse(t *testing.T) { diff --git a/grammar/lr0_test.go b/grammar/lr0_test.go index 99d4e5b..798c2fa 100644 --- a/grammar/lr0_test.go +++ b/grammar/lr0_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/nihei9/vartan/grammar/symbol" - "github.com/nihei9/vartan/spec/grammar/parser" + "grammar/symbol" + "spec/grammar/parser" ) type expectedLRState struct { diff --git a/grammar/parsing_table_test.go b/grammar/parsing_table_test.go index ae829e6..098adf9 100644 --- a/grammar/parsing_table_test.go +++ b/grammar/parsing_table_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "github.com/nihei9/vartan/grammar/symbol" - "github.com/nihei9/vartan/spec/grammar/parser" + "grammar/symbol" + "spec/grammar/parser" ) type expectedState struct { diff --git a/grammar/test_helper_test.go b/grammar/test_helper_test.go index 297a9a3..63fcafb 100644 --- a/grammar/test_helper_test.go +++ b/grammar/test_helper_test.go @@ -3,7 +3,7 @@ package grammar import ( "testing" - "github.com/nihei9/vartan/grammar/symbol" + "grammar/symbol" ) type testSymbolGenerator func(text string) symbol.Symbol |