aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-05-11 16:23:40 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-05-11 16:54:44 +0200
commitd44f7473ded70ec08be6d5651bbd58d662bdf180 (patch)
treed62fb3ef7f053aa481e0a4b892338eaf57311f3c /sys
parent3b3a2b78da8303932a52da3e975664b8f173a4c8 (diff)
sys/syz-extract: add another compiler message about missing const
New message from clang.
Diffstat (limited to 'sys')
-rw-r--r--sys/syz-extract/fetch.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/syz-extract/fetch.go b/sys/syz-extract/fetch.go
index 9b09477fb..129385b7e 100644
--- a/sys/syz-extract/fetch.go
+++ b/sys/syz-extract/fetch.go
@@ -47,6 +47,7 @@ func extract(info *compiler.ConstInfo, cc string, args []string, params *extract
for _, errMsg := range []string{
`error: [‘']([a-zA-Z0-9_]+)[’'] undeclared`,
`note: in expansion of macro [‘']([a-zA-Z0-9_]+)[’']`,
+ `note: expanded from macro [‘']([a-zA-Z0-9_]+)[’']`,
`error: use of undeclared identifier [‘']([a-zA-Z0-9_]+)[’']`,
} {
re := regexp.MustCompile(errMsg)