Don't hang on '{' following a trigraph comment in the same line. (#314890,

2005-09-26  Matthias Clasen  <mclasen@redhat.com>

	* glib-mkenums.in: Don't hang on '{' following a trigraph comment
	in the same line.  (#314890, Mathias Hasselmann)
This commit is contained in:
Matthias Clasen 2005-09-26 15:19:24 +00:00 committed by Matthias Clasen
parent 4d83c82f47
commit a2b2c8143f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-09-26 Matthias Clasen <mclasen@redhat.com>
* glib-mkenums.in: Don't hang on '{' following a trigraph comment
in the same line. (#314890, Mathias Hasselmann)
Thu Sep 22 12:42:12 2005 Tim Janik <timj@gtk.org>
* gparam.c (g_param_spec_internal): fix pspec->name assignment which

View File

@ -267,6 +267,7 @@ while (<>) {
(?:/\*<
(([^*]|\*(?!/))*)
>\s*\*/)?
({)?
@x) {
if (defined $2) {
my %options = parse_trigraph ($2);
@ -280,7 +281,7 @@ while (<>) {
$option_lowercase_name = undef;
}
# Didn't have trailing '{' look on next lines
if (!defined $1) {
if (!defined $1 && !defined $3) {
while (<>) {
if (s/^\s*\{//) {
last;