Author: esr
Date: Thu Apr 26 03:38:11 2007
New Revision: 17101
URL: http://svn.gna.org/viewcvs/wesnoth?rev=17101&view=rev
Log:
Macroscope needs to be able to see filenames with leading dots.
Modified:
trunk/data/tools/macroscope
Modified: trunk/data/tools/macroscope
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/macroscope?rev=17101&r1=17100&r2=17101&view=diff
==============================================================================
--- trunk/data/tools/macroscope (original)
+++ trunk/data/tools/macroscope Thu Apr 26 03:38:11 2007
@@ -126,7 +126,7 @@
class CrossRef:
macro_reference = re.compile(r"\{([A-Z_][A-Z0-9_:]*[A-Za-z0-9_])\b")
- file_reference = re.compile(r"[A-Za-z0-9{}][A-Za-z0-9_/+{}-]*\.(" +
"|".join(resource_extensions) + ")")
+ file_reference = re.compile(r"[A-Za-z0-9{}.][A-Za-z0-9_/+{}-]*\.(" +
"|".join(resource_extensions) + ")")
def imagesearch(self, name):
# Here is where we implement the funky rules for image
# resolution. If we can't identify a reference to the image
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits