Added support for comments in .jspx and .xhtml files.

This commit is contained in:
Adam Waldenberg 2013-10-25 19:28:31 +02:00
parent 791e9e39dd
commit 998ec7456f
1 changed files with 4 additions and 4 deletions

View File

@ -20,12 +20,12 @@
from __future__ import unicode_literals
__comment_begining__ = {"java": "/*", "c": "/*", "cpp": "/*", "h": "/*", "hpp": "/*", "html": "<!--", "php": "/*",
"py": "\"\"\"", "glsl": "/*", "rb": "=begin", "js": "/*", "sql": "/*",
"tex": "\\begin{comment}", "xml": "<!--"}
"py": "\"\"\"", "glsl": "/*", "rb": "=begin", "js": "/*", "jspx": "<!--", "sql": "/*",
"tex": "\\begin{comment}", "xhtml": "<!--", "xml": "<!--"}
__comment_end__ = {"java": "*/", "c": "*/", "cpp": "*/", "h": "*/", "hpp": "*/", "html": "-->", "php": "/*",
"py": "\"\"\"", "glsl": "*/", "rb": "=end", "js": "*/", "sql": "*/",
"tex": "\\end{comment}", "xml": "-->"}
"py": "\"\"\"", "glsl": "*/", "rb": "=end", "js": "*/", "jspx": "-->", "sql": "*/",
"tex": "\\end{comment}", "xhtml": "-->", "xml": "-->"}
__comment__ = {"java": "//", "c": "//", "cpp": "//", "h": "//", "hpp": "//", "pl": "#", "php": "//", "py": "#",
"glsl": "//", "rb": "#", "js": "//", "sql": "--", "tex": "%"}