Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 4 of 4) sorted by relevance

/build/soong/androidmk/parser/
Dparser.go62 tok rune member
119 for _, tok := range toks {
120 if p.tok != tok {
121 p.errorf("expected %s, found %s", scanner.TokenString(tok),
122 scanner.TokenString(p.tok))
131 if p.tok != scanner.EOF {
132 p.tok = p.scanner.Scan()
133 for p.tok == '\r' {
134 p.tok = p.scanner.Scan()
137 if p.tok == '\n' {
[all …]
/build/blueprint/parser/
Dparser.go103 tok rune member
143 for _, tok := range toks {
144 if p.tok != tok {
145 p.errorf("expected %s, found %s", scanner.TokenString(tok),
146 scanner.TokenString(p.tok))
155 if p.tok != scanner.EOF {
156 p.tok = p.scanner.Scan()
157 if p.tok == scanner.Comment {
159 for p.tok == scanner.Comment {
166 p.tok = p.scanner.Scan()
[all …]
/build/soong/jar/
Djar.go169 tok := s.Scan()
173 if tok == scanner.Ident {
192 } else if tok == '@' {
195 } else if tok == scanner.EOF {
204 tok = s.Scan()
208 if tok != scanner.Ident {
213 tok = s.Scan()
217 if tok == ';' {
219 } else if tok == '.' {
/build/blueprint/microfactory/
Dmicrofactory.go248 for _, tok := range f[1:] {
249 matches = matches || matchBuildTag(tok)