Project: | Prolint Issue Tracker |
Component: | Rules |
Category: | feature request |
Priority: | normal |
Assigned: | Unassigned |
Status: | active |
make sure that internal procedures and user-defined functions are not accessing variables that are defined in the MAIN BLOCK scope. This rule might have three different ways for suppressing warnings:
1 add a {&_proparse_ prolint-nowarn} directive to the variable definition to allow access in ip/udf
2 add a directive in the IP/UDF if it is allowed to access large-scoped variables
3 add a directive immediately before the statement that accesses a large-scoped variable