siemens / CtrlppCheck

GNU General Public License v3.0
14 stars 11 forks source link

ScopeLib ignored #64

Open maxChevSOL opened 11 months ago

maxChevSOL commented 11 months ago

Describe the bug In the case of an independent analysis of one script belonging to some panel, the program throws lots of errors pertaining to unrecognized variables previously defined in the ScopeLib.

To Reproduce Steps to reproduce the behavior:

  1. Open a script belonging to a panel ("clicked" of some button, for example). In this script should be made use of a variable or a function defined in the ScopeLib of the panel.
  2. Run CppCheck for that script.
  3. An "unknown variable" gets reported.

Expected behavior Ctrlpp Check should be able to resolve dependencies under the form of variables/functions declared/defined in the ScopeLib.

mPokornyETM commented 11 months ago

exactly I notice this in #65