FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 706 : webcolor '#' literal allows questionable syntax
Last modified: 2007-12-26 10:53
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
196
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
davbol
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2007-12-26 10:31
As of 0135 the syntax checking for the '#' color specification seems to allow some
weird syntax - it seems that any '#' followed immediately by a character sort of acts
like an eol comment. For example the following do-nothing nonsense code compiles
and runs without error:
void setup() {
}
#alpha
#bravo
#charlie
#delta
#echo
#foxtrot
#golf
#hotel
#india
#juliet
#kilo
#lima
#mike
#november
#oscar
#papa
#quebec
#romeo
#sierra
#tango
#uniform
#victor
#whiskey
#xray
#yankee
#zulu
#four score and seven years ago our forefathers...
void draw() {
}
Additional Comment
#1 From fry 2007-12-26 10:53
*** This bug has been marked as a duplicate of
196
***