added mod_tag (fix)

This commit is contained in:
paulo committed 2021-11-02 21:47:36 -03:00
1 parent 2665d10c09
commit 5ff5942b4f
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -116,6 +116,7 @@ func Tokens(str string) ([]string, error) {
sb = strings.Builder{}
mode = MODE_STR
}
mode = MODE_STR
case MODE_TAG:
sb.WriteRune(a)
params = append(params, sb.String())
+1 -1
View File
@@ -11,7 +11,7 @@ func TestLines(t *testing.T) {
//lines, err := Lines("; \";\" ;;")
//Lines("a\nb\\\\nc")
lines, err := Lines(`
go build -o main.exe -ldflags="a=1 b=2" ./main.go
"A STR"
`)
//lines, err := Lines(`
//go build -o main.exe -ldflags="a=1 b=2" ./main.go