You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried using the new tags package, but it's not finding nearly as much in my Tcl files.
Looking into the unit tests, and the comments therein, it appears that the new parser(s) for Itcl do not activate unless the file contains 'package require Itcl'.
How do I force the parser for Itcl (and TclOO) to always be active when parsing a Tcl file?
Our code base uses Itcl in 90% of Tcl files, but due to the flow, doesn't have 'package require Itcl' in but a small handful.
Close universal-ctags#3136.
Closeuniversal-ctags#3139.
The original code requires 'package require Itcl' to run Itcl
subparser from Tcl parser. However, `itcl::` can be used in
a script having no 'package require Itcl' statement.
Suggested by @bigfaceworm.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Close universal-ctags#3136.
Closeuniversal-ctags#3139.
The original code requires 'package require Itcl' to run Itcl
subparser from Tcl parser. However, `itcl::` can be used in
a script having no 'package require Itcl' statement.
Suggested by @bigfaceworm.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Tried using the new tags package, but it's not finding nearly as much in my Tcl files.
Looking into the unit tests, and the comments therein, it appears that the new parser(s) for Itcl do not activate unless the file contains 'package require Itcl'.
How do I force the parser for Itcl (and TclOO) to always be active when parsing a Tcl file?
Our code base uses Itcl in 90% of Tcl files, but due to the flow, doesn't have 'package require Itcl' in but a small handful.
Originally posted by @bigfaceworm in #3136
The text was updated successfully, but these errors were encountered: