]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
fix tcl var parsing in the docs
authorMichael Schroeder <mls@suse.de>
Mon, 21 Sep 2015 11:55:03 +0000 (13:55 +0200)
committerMichael Schroeder <mls@suse.de>
Mon, 21 Sep 2015 11:55:03 +0000 (13:55 +0200)
doc/filters/xcode.pl
doc/libsolv-bindings.3

index 089f51166f325a8bee3cc7b5bbdb32d60ad08346..407641f906c0a27d3ad95f9a5aa11b2473cf5408 100755 (executable)
@@ -36,7 +36,7 @@ while(<STDIN>) {
     $_ = " $_";
     $_ = "$_ ";
     if (s/^ TCL +/ /) {
-      s/(\$[a-zA-Z_][a-zA-Z0-9_]*)/<-S><I>$1<-I><S>/g;
+      s/(\$[a-zA-Z_][a-zA-Z0-9_:]*)/<-S><I>$1<-I><S>/g;
     } else {
       s/(?<=[^a-zA-Z_\&:\.\'\";])(?!solv\W|Solv\W|Pool\W)([\$\@a-zA-Z_][a-zA-Z0-9_]*)(?=[^a-zA-Z0-9_\(;\[])(?!::)(?! [^=])/<-S><I>$1<-I><S>/g;
     }
index dc86e1f997447d3bf7f6423c7af6269ad03ccc5f..ad8a7e61ea116e434da4e3047ea99ddb34d3efd6 100644 (file)
@@ -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