aboutsummaryrefslogtreecommitdiff
path: root/driver/lexer/template.go
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-12-02 15:41:30 -0300
committerEuAndreh <eu@euandre.org>2024-12-02 15:41:30 -0300
commitab1ad9eecffed26c4aa3d6fd346d7b06e9eadbb1 (patch)
tree8e15b7188b153d8f85be7120f5370249286b6f17 /driver/lexer/template.go
parentSetup Makefile project structure with empty src/urubu.go source (diff)
downloadurubu-ab1ad9eecffed26c4aa3d6fd346d7b06e9eadbb1.tar.gz
urubu-ab1ad9eecffed26c4aa3d6fd346d7b06e9eadbb1.tar.xz
Build and test existing code as is
Diffstat (limited to 'driver/lexer/template.go')
-rw-r--r--driver/lexer/template.go6
1 files changed, 3 insertions, 3 deletions
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) {