Home
last modified time | relevance | path

Searched refs:errorf (Results 1 – 9 of 9) sorted by relevance

/build/soong/androidmk/cmd/androidmk/
Dandroidmk.go32 func (f *bpFile) errorf(thing mkparser.MakeThing, s string, args ...interface{}) { func
119 file.errorf(directive, "unsupported include")
132 file.errorf(directive, "unsupported nested conditional in module")
136 file.errorf(directive, "unsupported conditional")
142 file.errorf(directive, "missing if before else")
145 file.errorf(directive, "else from unsupported contitional")
151 file.errorf(directive, "missing if before endif")
154 file.errorf(directive, "endif from unsupported contitional")
163 file.errorf(directive, "unsupported directive")
167 file.errorf(t, "unsupported line")
[all …]
/build/soong/androidmk/parser/
Dparser.go54 p.errorf(msg)
68 func (p *parser) errorf(format string, args ...interface{}) { func
86 p.errorf("expected %s, found %s", scanner.TokenString(tok),
123 p.errorf("expected = after ?")
130 p.errorf("expected = after +")
147 p.errorf("expected directive, rule, or assignment after ident " + ident.Dump())
158 p.errorf("expected assignment or rule definition, found %s\n",
217 p.errorf("expected escaped character, found %s",
230 p.errorf("unexpected EOF while looking for endef")
289 p.errorf("expected escaped character, found %s",
[all …]
/build/kati/
Deval.go132 func (p srcpos) errorf(f string, args ...interface{}) error { func
213 return ast.errorf("*** empty variable name.")
378 return ast.errorf("parse failed: %q: %v", line, err)
394 return ast.errorf("*** commands commence before first target.")
492 return ast.errorf("parse failed: %q: %v", ast.expr, err)
498 return ast.errorf("%v", err)
508 return ast.errorf("glob error: %s: %v", pat, err)
524 return ev.errorf("%v\nNOTE: kati does not support generating missing makefiles", err)
552 return iast.errorf("%v\n expr:%s", err, expr)
558 return iast.errorf("%v\n expr:%s=>%s", err, expr, v)
[all …]
Dparser.go218 p.err = p.srcpos().errorf("*** missing rule before commands.")
222 p.err = p.srcpos().errorf("*** commands commence before first target.")
374 p.err = p.srcpos().errorf(`*** invalid syntax in conditional.`)
406 return p.srcpos().errorf(`*** extraneous %q.`, curKeyword)
419 p.err = p.srcpos().errorf(`*** only one "else" per conditional.`)
483 p.err = p.srcpos().errorf("parse error %q: %v", string(vline), err)
702 p.err = p.srcpos().errorf("assign error %q=%q: %v", p.defineVar, p.inDef, err)
Dfunc.go398 return ev.errorf(`*** non-numeric first argument to "word" function: %q.`, v)
401 return ev.errorf(`*** first argument to "word" function must be greater than 0.`)
434 return ev.errorf(`*** non-numeric first argument to "wordlist" function: %q.`, v)
437 return ev.errorf(`*** invalid first argument to "wordlist" function: %s`, f.args[1])
442 return ev.errorf(`*** non-numeric second argument to "wordlist" function: %q.`, v)
1115 return ev.errorf("%v", err)
1254 return ev.errorf("eval assign error: %q: %v", f.String(), err)
1419 return ev.errorf("*** %s.", abuf.String())
Dast.go80 return nil, ast.errorf("unknown assign op: %q", ast.op)
Devalcmd.go244 return nil, ev.errorf("parse cmd %q: %v", r.cmd, err)
Ddep.go415 return nil, r.errorf("*** target file %q has both : and :: entries.", output)
/build/blueprint/parser/
Dparser.go99 p.errorf(msg)
122 func (p *parser) errorf(format string, args ...interface{}) { func
129 p.errorf("expected %s, found %s", scanner.TokenString(tok),
168 p.errorf("expected \"=\" or \"+=\" or \"{\" or \"(\", found %s",
174 p.errorf("expected assignment or module definition, found %s",
201 p.errorf("modified non-existent variable %q with +=", assignment.Name.Name)
203 p.errorf("modified non-local variable %q with +=", assignment.Name.Name)
205 p.errorf("modified variable %q with += after referencing",
425 p.errorf("expected bool, list, or string value; found %s",
443 p.errorf("variable %q is not set", variable)
[all …]