added support for void-Wls in parser and added missing void in PRTcode. This fixes issue #2302 (closed)