Create analyzer error for 'mode-specific' functions
Framework for numerical computations, data analysis and visualisation
Brought to you by:
numere
Some functions (i.e. draw functions and matop functions) are only valid in this specific mode. Add an error message for the static code analyzer to detect such errors before runtime.
Straightforward change by storing the current line mode (consider line continuation marks) and checking all found functions against a list of known functions.
Functionality was tested manually. Occured deviation was fixed by removing a classification of some stats functions.
Anonymous
Diff:
Diff:
Diff:
Related
Commit: [r1013]
Diff: