summaryrefslogtreecommitdiff
path: root/ale_linters/verilog
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-01-22 14:54:57 +0000
committerw0rp <devw0rp@gmail.com>2017-01-22 14:54:57 +0000
commitd7ed49f84964aebdaa180b553e83943cd85c5d20 (patch)
treefc71c3fb869ca67864a32d4513cb27f25ce50f69 /ale_linters/verilog
parente4a4fcd26bff47b3611887167a0510a5e29cbe3b (diff)
downloadale-d7ed49f84964aebdaa180b553e83943cd85c5d20.zip
Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues.
Diffstat (limited to 'ale_linters/verilog')
-rw-r--r--ale_linters/verilog/iverilog.vim2
-rw-r--r--ale_linters/verilog/verilator.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/verilog/iverilog.vim b/ale_linters/verilog/iverilog.vim
index 97d4a1f1..d10661d7 100644
--- a/ale_linters/verilog/iverilog.vim
+++ b/ale_linters/verilog/iverilog.vim
@@ -1,7 +1,7 @@
" Author: Masahiro H https://github.com/mshr-h
" Description: iverilog for verilog files
-function! ale_linters#verilog#iverilog#Handle(buffer, lines)
+function! ale_linters#verilog#iverilog#Handle(buffer, lines) abort
" Look for lines like the following.
"
" tb_me_top.v:37: warning: Instantiating module me_top with dangling input port 1 (rst_n) floating.
diff --git a/ale_linters/verilog/verilator.vim b/ale_linters/verilog/verilator.vim
index d8e105a2..534e1ae2 100644
--- a/ale_linters/verilog/verilator.vim
+++ b/ale_linters/verilog/verilator.vim
@@ -1,7 +1,7 @@
" Author: Masahiro H https://github.com/mshr-h
" Description: verilator for verilog files
-function! ale_linters#verilog#verilator#Handle(buffer, lines)
+function! ale_linters#verilog#verilator#Handle(buffer, lines) abort
" Look for lines like the following.
"
" %Error: addr_gen.v:3: syntax error, unexpected IDENTIFIER