[gtk-doc] common: strip // comment properly before parsing
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] common: strip // comment properly before parsing
- Date: Wed, 28 Apr 2010 20:45:27 +0000 (UTC)
commit 7c8d70231ae2b7db619ebe85c8748ddd39a1067b
Author: Stefan Kost <ensonic users sf net>
Date: Wed Apr 28 23:42:31 2010 +0300
common: strip // comment properly before parsing
gtkdoc-common.pl.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc-common.pl.in b/gtkdoc-common.pl.in
index aa4ceca..9dad3ca 100644
--- a/gtkdoc-common.pl.in
+++ b/gtkdoc-common.pl.in
@@ -116,7 +116,7 @@ sub ParseStructDeclaration {
# Remove all other comments;
$declaration =~ s@/\*([^*]+|\*(?!/))*\*/@ @g;
- $declaration =~ s@//.*$@@g;
+ $declaration =~ s@//.*@@g;
my @result = ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]