aboutsummaryrefslogtreecommitdiff
path: root/grammar/lexical
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/lexical')
-rw-r--r--grammar/lexical/compiler.go8
-rw-r--r--grammar/lexical/dfa/dfa.go2
-rw-r--r--grammar/lexical/dfa/tree.go6
-rw-r--r--grammar/lexical/entry.go2
-rw-r--r--grammar/lexical/parser/fragment.go2
-rw-r--r--grammar/lexical/parser/parser.go4
-rw-r--r--grammar/lexical/parser/tree.go2
7 files changed, 13 insertions, 13 deletions
diff --git a/grammar/lexical/compiler.go b/grammar/lexical/compiler.go
index 61aa3f2..06e4068 100644
--- a/grammar/lexical/compiler.go
+++ b/grammar/lexical/compiler.go
@@ -4,10 +4,10 @@ import (
"bytes"
"fmt"
- "github.com/nihei9/vartan/compressor"
- "github.com/nihei9/vartan/grammar/lexical/dfa"
- psr "github.com/nihei9/vartan/grammar/lexical/parser"
- spec "github.com/nihei9/vartan/spec/grammar"
+ "compressor"
+ "grammar/lexical/dfa"
+ psr "grammar/lexical/parser"
+ spec "spec/grammar"
)
type CompileError struct {
diff --git a/grammar/lexical/dfa/dfa.go b/grammar/lexical/dfa/dfa.go
index 850264a..884b168 100644
--- a/grammar/lexical/dfa/dfa.go
+++ b/grammar/lexical/dfa/dfa.go
@@ -3,7 +3,7 @@ package dfa
import (
"sort"
- spec "github.com/nihei9/vartan/spec/grammar"
+ spec "spec/grammar"
)
type symbolTable struct {
diff --git a/grammar/lexical/dfa/tree.go b/grammar/lexical/dfa/tree.go
index cd6081e..85061f9 100644
--- a/grammar/lexical/dfa/tree.go
+++ b/grammar/lexical/dfa/tree.go
@@ -5,9 +5,9 @@ import (
"io"
"sort"
- "github.com/nihei9/vartan/grammar/lexical/parser"
- spec "github.com/nihei9/vartan/spec/grammar"
- "github.com/nihei9/vartan/utf8"
+ "grammar/lexical/parser"
+ spec "spec/grammar"
+ "utf8"
)
type byteTree interface {
diff --git a/grammar/lexical/entry.go b/grammar/lexical/entry.go
index c9f8691..6d2fbe3 100644
--- a/grammar/lexical/entry.go
+++ b/grammar/lexical/entry.go
@@ -5,7 +5,7 @@ import (
"sort"
"strings"
- spec "github.com/nihei9/vartan/spec/grammar"
+ spec "spec/grammar"
)
type LexEntry struct {
diff --git a/grammar/lexical/parser/fragment.go b/grammar/lexical/parser/fragment.go
index fc6f16b..e51759e 100644
--- a/grammar/lexical/parser/fragment.go
+++ b/grammar/lexical/parser/fragment.go
@@ -3,7 +3,7 @@ package parser
import (
"fmt"
- spec "github.com/nihei9/vartan/spec/grammar"
+ spec "spec/grammar"
)
type incompleteFragment struct {
diff --git a/grammar/lexical/parser/parser.go b/grammar/lexical/parser/parser.go
index 89362b8..d1a08a2 100644
--- a/grammar/lexical/parser/parser.go
+++ b/grammar/lexical/parser/parser.go
@@ -6,8 +6,8 @@ import (
"io"
"strconv"
- spec "github.com/nihei9/vartan/spec/grammar"
- "github.com/nihei9/vartan/ucd"
+ spec "spec/grammar"
+ "ucd"
)
type PatternEntry struct {
diff --git a/grammar/lexical/parser/tree.go b/grammar/lexical/parser/tree.go
index 3d9d197..0d64e1d 100644
--- a/grammar/lexical/parser/tree.go
+++ b/grammar/lexical/parser/tree.go
@@ -5,7 +5,7 @@ import (
"io"
"sort"
- spec "github.com/nihei9/vartan/spec/grammar"
+ spec "spec/grammar"
)
type CPRange struct {