The Persistence of Vision Raytracer (POV-Ray).
This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.
FS#102 - #switch directive parsing problem
Opened by Jim Holsenback (jholsenback) - Wednesday, 21 April 2010, 13:44 GMT
Last edited by Christoph Lipka (clipka) - Monday, 28 June 2010, 21:25 GMT
The #switch directive isn’t parsing correctly. In the following construct NO warning or error is generated:
case (0) rotate z*355 #break case (144) rotate z*7.5 #break case (216) rotate z*5 #break
RF is a variable passed to the macro in which this construct resides. The first ‘case’ action IS executed, but none of the others are on successive calls to the macro. If I properly add ‘#’ to the second case the 1st and 2nd condition are executed but not the last. If ‘#’ is REMOVED from any of the break directives an error is generated and parsing halts.
Monday, 28 June 2010, 21:25 GMT
Reason for closing: Fixed