Added support for comments in .hh files.

This commit is contained in:
Adam Waldenberg 2013-12-05 08:47:20 +01:00
parent abbeed5356
commit a1d83ead9e
1 changed files with 8 additions and 8 deletions

View File

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