summaryrefslogtreecommitdiff
path: root/doc/scripts
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@crystal.(none)>2009-02-22 09:25:09 +0200
committerNikos Mavrogiannopoulos <nmav@crystal.(none)>2009-02-22 09:25:09 +0200
commite3638d6d6607952d40aa3c51d1a26bcd68c45cb0 (patch)
treeeb5420861e753f6cd6c890ce80368388b8d12fca /doc/scripts
parent4912abdc25944313077032c9a346f051420ccf39 (diff)
downloadgnutls-e3638d6d6607952d40aa3c51d1a26bcd68c45cb0.tar.gz
Applied patch by Martin von Gagern:
The attached patch fixes gnutls_priority_init(3), but in a very hackish way, treating a percent sign as indicating a constant only if it is not immediately preceded by a double quote.
Diffstat (limited to 'doc/scripts')
-rwxr-xr-xdoc/scripts/gdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/scripts/gdoc b/doc/scripts/gdoc
index 82d9e0af1b..b2416a036a 100755
--- a/doc/scripts/gdoc
+++ b/doc/scripts/gdoc
@@ -132,7 +132,7 @@
use POSIX qw(strftime);
# match expressions used to find embedded type information
-$type_constant = "\\\%(\\w+)";
+$type_constant = "(?<!\")\\\%(\\w+)";
$type_func = "(\\w+\\(\\))";
$type_param = "\\\@(\\w+)";
$type_struct = "\\\#(\\w+)";