Skip to content

Commit 2b0963c

Browse files
committed
regen/mk_invlists.pl: Use INIT(), not DOINIT
There are no tables currently generated by this file that are affected, however.
1 parent 576826e commit 2b0963c

File tree

5 files changed

+8
-13
lines changed

5 files changed

+8
-13
lines changed

charclass_invlists.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492662,5 +492662,5 @@ static const U8 WB_dfa_table[] = {
492662492662
* 8c30575264b2772c7a69c5bb6069a28f0e0a7a0df735871bde2d99ee674316ac lib/unicore/version
492663492663
* 0a6b5ab33bb1026531f816efe81aea1a8ffcd34a27cbea37dd6a70a63d73c844 regen/charset_translations.pl
492664492664
* c7ff8e0d207d3538c7feb4a1a152b159e5e902d20293b303569ea8323e84633e regen/mk_PL_charclass.pl
492665-
* 33a5e583d836b8bb97b6b1d1c6d1766defe4cbdeb8bcbe865d76f71206762be9 regen/mk_invlists.pl
492665+
* 20a6e3d507a66f4594586485568134873485b08e23383f3dc4e6b3047569267b regen/mk_invlists.pl
492666492666
* ex: set ro ft=c: */

lib/unicore/uni_keywords.pl

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

regen/mk_invlists.pl

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -348,13 +348,7 @@ ($charset, $indent_level=undef)
348348
$in_doinit = 1;
349349
print $fh <<EOF;
350350
351-
# ifndef DOINIT
352-
353-
EXTCONST $declaration;
354-
355-
# else
356-
357-
EXTCONST $declaration = {$comment
351+
EXTCONST $declaration INIT( {$comment
358352
EOF
359353
}
360354
}
@@ -363,11 +357,12 @@ ($charset, $indent_level=undef)
363357

364358
# Close out a table started by output_table_header()
365359

366-
print $fh "};\n";
360+
print $fh "}";
367361
if ($in_doinit) {
368-
print $fh "\n# endif /* DOINIT */\n\n";
362+
print $fh ")";
369363
$in_doinit = 0;
370364
}
365+
print $fh ";\n";
371366
}
372367
} # End closure
373368

regexp_constants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@
8383
* 8c30575264b2772c7a69c5bb6069a28f0e0a7a0df735871bde2d99ee674316ac lib/unicore/version
8484
* 0a6b5ab33bb1026531f816efe81aea1a8ffcd34a27cbea37dd6a70a63d73c844 regen/charset_translations.pl
8585
* c7ff8e0d207d3538c7feb4a1a152b159e5e902d20293b303569ea8323e84633e regen/mk_PL_charclass.pl
86-
* 33a5e583d836b8bb97b6b1d1c6d1766defe4cbdeb8bcbe865d76f71206762be9 regen/mk_invlists.pl
86+
* 20a6e3d507a66f4594586485568134873485b08e23383f3dc4e6b3047569267b regen/mk_invlists.pl
8787
* ex: set ro ft=c: */

uni_keywords.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)