Lines Matching refs:errs
74 file, errs := parser.Parse(filename, r, parser.NewScope(nil))
75 if len(errs) > 0 {
76 for _, err := range errs {
79 return fmt.Errorf("%d parsing errors", len(errs))
82 modified, errs := findModules(file)
83 if len(errs) > 0 {
84 for _, err := range errs {
122 func findModules(file *parser.File) (modified bool, errs []error) {
130 errs = append(errs, newErrs...)
138 return modified, errs
142 file *parser.File) (modified bool, errs []error) {
146 modified, errs = processParameter(prop.Value, *parameter, moduleName, file)
152 modified, errs = processParameter(prop.Value, *parameter, moduleName, file)
158 return modified, errs
162 file *parser.File) (modified bool, errs []error) {