tools: fix perl warning about unescaped left brace in gimp-mkenums
Simply use "\{" instead of "{" for matching a literal "{".
This commit is contained in:
@ -263,7 +263,7 @@ while (<>) {
|
|||||||
next if /^\s*typedef\s+enum.*;/;
|
next if /^\s*typedef\s+enum.*;/;
|
||||||
|
|
||||||
if (m@^\s*typedef\s+enum\s*
|
if (m@^\s*typedef\s+enum\s*
|
||||||
({)?\s*
|
(\{)?\s*
|
||||||
(?:/\*<
|
(?:/\*<
|
||||||
(([^*]|\*(?!/))*)
|
(([^*]|\*(?!/))*)
|
||||||
>\s*\*/)?
|
>\s*\*/)?
|
||||||
|
Reference in New Issue
Block a user