diff options
Diffstat (limited to 'driver/lexer')
-rw-r--r-- | driver/lexer/spec.go | 2 | ||||
-rw-r--r-- | driver/lexer/template.go | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/driver/lexer/spec.go b/driver/lexer/spec.go index 23debbf..4b1a218 100644 --- a/driver/lexer/spec.go +++ b/driver/lexer/spec.go @@ -1,6 +1,6 @@ package lexer -import spec "github.com/nihei9/vartan/spec/grammar" +import spec "spec/grammar" type lexSpec struct { spec *spec.LexicalSpec diff --git a/driver/lexer/template.go b/driver/lexer/template.go index 52f9ebd..c5d0778 100644 --- a/driver/lexer/template.go +++ b/driver/lexer/template.go @@ -11,11 +11,11 @@ import ( "strings" "text/template" - "github.com/nihei9/vartan/grammar/lexical" - spec "github.com/nihei9/vartan/spec/grammar" + "grammar/lexical" + spec "spec/grammar" ) -//go:embed lexer.go +// go:embed lexer.go var lexerCoreSrc string func GenLexer(lexSpec *spec.LexicalSpec, pkgName string) ([]byte, error) { |