aboutsummaryrefslogtreecommitdiff
path: root/driver/parser/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/parser/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/parser/template.go')
-rw-r--r--driver/parser/template.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/parser/template.go b/driver/parser/template.go
index e9620dc..3e25193 100644
--- a/driver/parser/template.go
+++ b/driver/parser/template.go
@@ -13,13 +13,13 @@ import (
"strings"
"text/template"
- spec "github.com/nihei9/vartan/spec/grammar"
+ spec "spec/grammar"
)
-//go:embed parser.go
+// go:embed parser.go
var parserCoreSrc string
-//go:embed semantic_action.go
+// go:embed semantic_action.go
var semActSrc string
func GenParser(cgram *spec.CompiledGrammar, pkgName string) ([]byte, error) {