[gimp/gimp-2-10] tools: fix perl warning about unescaped left brace in gimp-mkenums
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] tools: fix perl warning about unescaped left brace in gimp-mkenums
- Date: Thu, 3 Jan 2019 14:22:23 +0000 (UTC)
commit 4a294f6d6a22ce840388f5dc3ba8429191539b2d
Author: Michael Natterer <mitch gimp org>
Date: Thu Jan 3 15:20:33 2019 +0100
tools: fix perl warning about unescaped left brace in gimp-mkenums
Simply use "\{" instead of "{" for matching a literal "{".
tools/gimp-mkenums | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/gimp-mkenums b/tools/gimp-mkenums
index 5838fae521..f39103f567 100755
--- a/tools/gimp-mkenums
+++ b/tools/gimp-mkenums
@@ -263,7 +263,7 @@ while (<>) {
next if /^\s*typedef\s+enum.*;/;
if (m@^\s*typedef\s+enum\s*
- ({)?\s*
+ (\{)?\s*
(?:/\*<
(([^*]|\*(?!/))*)
>\s*\*/)?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]