Make great documentation goal 1.2, and plan the README's reorganisation and the nested-template gaps #33
@@ -136,8 +136,7 @@ type builtin struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// funcCall splits a "{token}" body shaped name(args) into its parts; ok is false
|
// funcCall splits a "{token}" body shaped name(args) into its parts; ok is false
|
||||||
// for a plain field or alternation body. A '(' without a trailing ')' yields
|
// for a name-read body. A '(' without a trailing ')' yields ok=false.
|
||||||
// ok=false.
|
|
||||||
func funcCall(body string) (name string, args []string, ok bool) {
|
func funcCall(body string) (name string, args []string, ok bool) {
|
||||||
lp := indexOutside(body, '(')
|
lp := indexOutside(body, '(')
|
||||||
if lp < 0 || !strings.HasSuffix(body, ")") {
|
if lp < 0 || !strings.HasSuffix(body, ")") {
|
||||||
|
|||||||
Reference in New Issue
Block a user