Commit a2b2c814 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

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)
parent 4d83c82f
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
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment