#305 not detecting a SYNTAX error in EXPOSE

open
nobody
None
5
2010-05-24
2010-05-24
No

Reginas 3.3, 3.4, 3.5 aren't detecting a SYNTAX error (illegal
variable name) in the following program:
======================================
/**/ y=7; call zzz; exit

zzz: procedure expose (y)
say 'entered ZZZ.'; return
====================================

--- where Y should contain a list of REXX variable
names (or be empty).

Also, it would be a good idea to document that
an empty EXPOSE list is valid and won't
raise the SYNTAX condition.

Also, the format of the (name) construct
isn't documented and that should also be
added to the documentation.

__________________________ Gerard Schildberger

Discussion