diff options
| author | Bruce Momjian | 2017-05-17 23:01:23 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2017-05-17 23:01:23 +0000 |
| commit | ce554810329b9b8e862eade08b598148931eb456 (patch) | |
| tree | ddc702112bdabfcdf78d1c4648614b92fd11dadd /src/tools/fix-old-flex-code.pl | |
| parent | a6fd7b7a5f7bf3a8aa3f3d076cf09d922c1c6dd2 (diff) | |
Post-PG 10 beta1 pgperltidy run
Diffstat (limited to 'src/tools/fix-old-flex-code.pl')
| -rw-r--r-- | src/tools/fix-old-flex-code.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/fix-old-flex-code.pl b/src/tools/fix-old-flex-code.pl index bc868dfd7f..da99875599 100644 --- a/src/tools/fix-old-flex-code.pl +++ b/src/tools/fix-old-flex-code.pl @@ -36,7 +36,8 @@ exit 0 if $ccode !~ m/^#define YY_FLEX_SUBMINOR_VERSION (\d+)$/m; exit 0 if $1 >= 36; # Apply the desired patch. -$ccode =~ s|(struct yyguts_t \* yyg = \(struct yyguts_t\*\)yyscanner; /\* This var may be unused depending upon options. \*/ +$ccode =~ +s|(struct yyguts_t \* yyg = \(struct yyguts_t\*\)yyscanner; /\* This var may be unused depending upon options. \*/ .*?) return yy_is_jam \? 0 : yy_current_state; |$1 |
