aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/syz-extract/fetch.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/syz-extract/fetch.go b/sys/syz-extract/fetch.go
index db37fe4ab..a3c49c9b5 100644
--- a/sys/syz-extract/fetch.go
+++ b/sys/syz-extract/fetch.go
@@ -36,10 +36,9 @@ func extract(info *compiler.ConstInfo, cc string, args []string, addSource strin
valMap[val] = true
}
for _, errMsg := range []string{
- "error: ‘([a-zA-Z0-9_]+)’ undeclared",
- "error: '([a-zA-Z0-9_]+)' undeclared",
- "note: in expansion of macro ‘([a-zA-Z0-9_]+)’",
- "error: use of undeclared identifier '([a-zA-Z0-9_]+)'",
+ `error: [‘']([a-zA-Z0-9_]+)[’'] undeclared`,
+ `note: in expansion of macro [‘']([a-zA-Z0-9_]+)[’']`,
+ `error: use of undeclared identifier [‘']([a-zA-Z0-9_]+)[’']`,
} {
re := regexp.MustCompile(errMsg)
matches := re.FindAllSubmatch(out, -1)