FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1442 : non-void functions confuse preprocessor in isolation
Last modified: 2010-03-13 05:21
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P4
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
zaphos
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2010-01-24 03:37
using Processing 1.0.9 on windows, if I try to run a source file containing just:
float a() {
return 1.0;
}
processing says "unexpected token: float"
if I add a pointless function that returns void, like:
float a() {
return 1.0;
}
void b() {}
then the program runs as expected.
Additional Comment
#1 From fry 2010-02-02 12:41
***
Bug 1451
has been marked as a duplicate of this bug. ***
Additional Comment
#2 From MrFeinberg 2010-03-12 16:14
Please assign to me.
Additional Comment
#3 From MrFeinberg 2010-03-13 00:16
Checked in fix; please verify.
Additional Comment
#4 From fry 2010-03-13 05:20
confirmed fixed.
Additional Comment
#5 From fry 2010-03-13 05:21
***
Bug 1506
has been marked as a duplicate of this bug. ***