Bug 1562 : opengl "import" behavior depends on comment
Last modified: 2010-06-05 03:10




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
Nil
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2010-05-15 07:36
Version: 1.1
OS: Windows XP SP3 (up to date)

=== Code with parse error
/**
* <p>by Darabos, Edvárd Konrád &lt;nil@MASKED&gt;</p>
*/

int[] someArray;
import processing.opengl.*;

=== Compiler output on line "int[] someArray;"
processing.app.debug.RunnerException: expecting DOT, found 's'
at processing.app.Sketch.preprocess(Unknown Source)
at processing.app.Sketch.preprocess(Unknown Source)
at processing.app.Sketch.build(Unknown Source)
at processing.app.Sketch.build(Unknown Source)
at processing.app.Editor$DefaultRunHandler.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

=== Code without parse error. Note the lack of unicode character
/**
* <p>by Darabos, Edvard Konrad &lt;nil@MASKED&gt;</p>
*/

int[] someArray;
import processing.opengl.*;
Additional Comment #1 From fry 2010-05-16 04:48
please give it a try with the latest pre-release. it's probably fixed.
Additional Comment #2 From fry 2010-06-05 03:10
can't reproduce with latest version, closing bug.