Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ITcl: don't require 'package require Itcl' #3140

Merged

Conversation

masatake
Copy link
Member

Close #3136.
Close #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

@codecov
Copy link

codecov bot commented Aug 28, 2021

Codecov Report

Merging #3140 (1c3778f) into master (10c03fd) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3140      +/-   ##
==========================================
- Coverage   84.90%   84.90%   -0.01%     
==========================================
  Files         200      200              
  Lines       47840    47824      -16     
==========================================
- Hits        40620    40604      -16     
  Misses       7220     7220              
Impacted Files Coverage Δ
parsers/itcl.c 92.00% <ø> (-0.50%) ⬇️
parsers/tcl.c 95.43% <ø> (-0.19%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 10c03fd...1c3778f. Read the comment docs.

Close universal-ctags#3136.
Close universal-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>
@masatake masatake force-pushed the itcl-no-package-notification branch from c452753 to 1c3778f Compare August 28, 2021 12:55
@masatake masatake merged commit e573996 into universal-ctags:master Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tcl parser - requiring 'package require Itcl'
1 participant