From: Michael Schroeder Date: Mon, 21 Sep 2015 11:55:03 +0000 (+0200) Subject: fix tcl var parsing in the docs X-Git-Tag: 0.6.13~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ddc10337bf4887341d8459e8b6a5a22e7672ef7;p=thirdparty%2Flibsolv.git fix tcl var parsing in the docs --- diff --git a/doc/filters/xcode.pl b/doc/filters/xcode.pl index 089f5116..407641f9 100755 --- a/doc/filters/xcode.pl +++ b/doc/filters/xcode.pl @@ -36,7 +36,7 @@ while() { $_ = " $_"; $_ = "$_ "; if (s/^ TCL +/ /) { - s/(\$[a-zA-Z_][a-zA-Z0-9_]*)/<-S>$1<-I>/g; + s/(\$[a-zA-Z_][a-zA-Z0-9_:]*)/<-S>$1<-I>/g; } else { s/(?<=[^a-zA-Z_\&:\.\'\";])(?!solv\W|Solv\W|Pool\W)([\$\@a-zA-Z_][a-zA-Z0-9_]*)(?=[^a-zA-Z0-9_\(;\[])(?!::)(?! [^=])/<-S>$1<-I>/g; } diff --git a/doc/libsolv-bindings.3 b/doc/libsolv-bindings.3 index dc86e1f9..ad8a7e61 100644 --- a/doc/libsolv-bindings.3 +++ b/doc/libsolv-bindings.3 @@ -399,8 +399,8 @@ Swig implements all constants as numeric variables, constants belonging to a lib .RS 4 .\} .nf -\fI$pool\fR \fBset_flag\fR \fI$solv\fR\fB::Pool_POOL_FLAG_OBSOLETEUSESCOLORS 1\fR -\fBputs [\fR\fI$solvable\fR \fBlookup_str\fR \fI$solv\fR\fB::SOLVABLE_SUMMARY]\fR +\fI$pool\fR \fBset_flag\fR \fI$solv::Pool_POOL_FLAG_OBSOLETEUSESCOLORS\fR \fB1\fR +\fBputs [\fR\fI$solvable\fR \fBlookup_str\fR \fI$solv::SOLVABLE_SUMMARY\fR\fB]\fR .fi .if n \{\ .RE