mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +01:00
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:
parent
4d83c82f47
commit
a2b2c8143f
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user