summaryrefslogtreecommitdiff
path: root/pygments/lexers/hdl.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-09 12:48:11 +0100
committerGeorg Brandl <georg@python.org>2014-11-09 12:48:11 +0100
commit4978e0fa9c0dc91ffeb4afd9ee0e97b1ff83d859 (patch)
tree28999a91b8aacb35b959b8b5405f4dba7b52e71a /pygments/lexers/hdl.py
parent85a486b6addfc4b7b0564d933ce26c91c14e06d1 (diff)
downloadpygments-4978e0fa9c0dc91ffeb4afd9ee0e97b1ff83d859.tar.gz
Closes #1057: adjust lexer analysis functions; remove too broad analysis for SystemVerilog and strengthen C.
Diffstat (limited to 'pygments/lexers/hdl.py')
-rw-r--r--pygments/lexers/hdl.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pygments/lexers/hdl.py b/pygments/lexers/hdl.py
index 8b395965..c8e34718 100644
--- a/pygments/lexers/hdl.py
+++ b/pygments/lexers/hdl.py
@@ -285,10 +285,6 @@ class SystemVerilogLexer(RegexLexer):
token = Name.Constant
yield index, token, value
- def analyse_text(text):
- if text.startswith('//') or text.startswith('/*'):
- return 0.5
-
class VhdlLexer(RegexLexer):
"""