Skip to content

Commit ab62b85

Browse files
committed
lint: add --ignore option to syntaxdb
1 parent 115ecf0 commit ab62b85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/nagelfar/syntaxdb_modulefile.tcl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ set ::syntax(set-alias) 2
175175
set ::syntax(set-function) 2
176176
# setenv accepts option at any position
177177
set ::syntax(setenv) {o? x o? x o?}
178-
set ::syntax(source-sh) {x x x*}
178+
set ::syntax(source-sh) {o* x x x*}
179179
set ::syntax(system) {x x*}
180180
set ::syntax(uname) s
181181
set {::syntax(uname sysname)} 0
@@ -289,6 +289,8 @@ set ::option(remove-path) {-d --delim --glob --index --ignore-refcount\
289289
set {::option(remove-path -d)} 1
290290
set {::option(remove-path --delim)} 1
291291
set ::option(setenv) --set-if-undef
292+
set ::option(source-sh) --ignore
293+
set {::option(source-sh --ignore)} 1
292294
set ::option(unsetenv) {--noop-on-unload --unset-on-unload}
293295
set ::option(variant) {--boolean --default}
294296
set {::option(variant --default)} 1

0 commit comments

Comments
 (0)