Added support for comments in .cc files.
This commit is contained in:
parent
37d78ff992
commit
abbeed5356
|
@ -19,15 +19,15 @@
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__comment_begining__ = {"java": "/*", "c": "/*", "cpp": "/*", "h": "/*", "hpp": "/*", "html": "<!--", "php": "/*",
|
__comment_begining__ = {"java": "/*", "c": "/*", "cc": "/*", "cpp": "/*", "h": "/*", "hpp": "/*", "html": "<!--", "php": "/*",
|
||||||
"py": "\"\"\"", "glsl": "/*", "rb": "=begin", "js": "/*", "jspx": "<!--", "scala": "/*", "sql": "/*",
|
"py": "\"\"\"", "glsl": "/*", "rb": "=begin", "js": "/*", "jspx": "<!--", "scala": "/*", "sql": "/*",
|
||||||
"tex": "\\begin{comment}", "xhtml": "<!--", "xml": "<!--"}
|
"tex": "\\begin{comment}", "xhtml": "<!--", "xml": "<!--"}
|
||||||
|
|
||||||
__comment_end__ = {"java": "*/", "c": "*/", "cpp": "*/", "h": "*/", "hpp": "*/", "html": "-->", "php": "/*",
|
__comment_end__ = {"java": "*/", "c": "*/", "cc": "*/", "cpp": "*/", "h": "*/", "hpp": "*/", "html": "-->", "php": "/*",
|
||||||
"py": "\"\"\"", "glsl": "*/", "rb": "=end", "js": "*/", "jspx": "-->", "scala": "*/", "sql": "*/",
|
"py": "\"\"\"", "glsl": "*/", "rb": "=end", "js": "*/", "jspx": "-->", "scala": "*/", "sql": "*/",
|
||||||
"tex": "\\end{comment}", "xhtml": "-->", "xml": "-->"}
|
"tex": "\\end{comment}", "xhtml": "-->", "xml": "-->"}
|
||||||
|
|
||||||
__comment__ = {"java": "//", "c": "//", "cpp": "//", "h": "//", "hpp": "//", "pl": "#", "php": "//", "py": "#",
|
__comment__ = {"java": "//", "c": "//", "cc": "//", "cpp": "//", "h": "//", "hpp": "//", "pl": "#", "php": "//", "py": "#",
|
||||||
"glsl": "//", "rb": "#", "js": "//", "scala": "//", "sql": "--", "tex": "%"}
|
"glsl": "//", "rb": "#", "js": "//", "scala": "//", "sql": "--", "tex": "%"}
|
||||||
|
|
||||||
__comment_markers_must_be_at_begining__ = {"tex": True}
|
__comment_markers_must_be_at_begining__ = {"tex": True}
|
||||||
|
|
Loading…
Reference in New Issue