FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 507 : non-matching curly brackets doesn't cause syntax error
Last modified: 2010-03-15 14:42
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
6
Pr
i
ority:
P5
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
chrismungbean
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2007-01-29 07:31
this code compiles and runs despite being syntactically correct.
(auto-format spots that the curly brackets don't match, however.)
void setup() {
if (1 == 2) {
println("the impossible just happened");
}
} else {
println("zzz");
}
}
tested on 0123 on MacOS 10.4.8
Additional Comment
#1 From chrismungbean 2007-01-29 07:32
(In reply to
comment #0
)
> this code compiles and runs despite being syntactically correct.
correction, syntactically **INCORRECT**
:-)
Additional Comment
#2 From fry 2007-01-29 16:23
ah, the preprocessor... thanks for the report.
Additional Comment
#3 From MrFeinberg 2010-03-15 13:11
This is a duplicate of
bug #6
(or, rather, has the same cause). Please close.
Additional Comment
#4 From fry 2010-03-15 14:42
*** This bug has been marked as a duplicate of
6
***