diff options
author | Georg Brandl <georg@python.org> | 2014-11-09 12:48:11 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-09 12:48:11 +0100 |
commit | 4978e0fa9c0dc91ffeb4afd9ee0e97b1ff83d859 (patch) | |
tree | 28999a91b8aacb35b959b8b5405f4dba7b52e71a /pygments/lexers/hdl.py | |
parent | 85a486b6addfc4b7b0564d933ce26c91c14e06d1 (diff) | |
download | pygments-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.py | 4 |
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): """ |