Bug 706 : webcolor '#' literal allows questionable syntax
Last modified: 2007-12-26 10:53




Status:
RESOLVED
Resolution:
DUPLICATE of bug 196
Priority:
P2
Severity:
normal

 

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 ***