[z3-checkins] r36090 - z3/jsonserver/branch/merge/concatresource/compression/thirdparty
reebalazs at codespeak.net
reebalazs at codespeak.net
Mon Jan 1 14:23:57 CET 2007
Author: reebalazs
Date: Mon Jan 1 14:23:54 2007
New Revision: 36090
Modified:
z3/jsonserver/branch/merge/concatresource/compression/thirdparty/packer.py
Log:
Update javascript packer
Modified: z3/jsonserver/branch/merge/concatresource/compression/thirdparty/packer.py
==============================================================================
--- z3/jsonserver/branch/merge/concatresource/compression/thirdparty/packer.py (original)
+++ z3/jsonserver/branch/merge/concatresource/compression/thirdparty/packer.py Mon Jan 1 14:23:54 2007
@@ -326,7 +326,7 @@
self.protect(r"""\s+(\/[^\/\n\r\*][^\/\n\r]*\/g?i?)""")
self.protect(r"""([^\w\$\/'"*)\?:]\/[^\/\n\r\*][^\/\n\r]*\/g?i?)""")
# multiline comments
- self.sub(r'/\*.*?\*/', '', re.DOTALL)
+ self.sub(r'/\*(?!@).*?\*/', '', re.DOTALL)
# one line comments
self.sub(r'\s*//.*$', '', re.MULTILINE)
# strip whitespace at the beginning and end of each line
More information about the z3-checkins
mailing list