Today I was testing valid colors (some of the color shown in web_colors on
wiki doesn't work).
So I extract the X11 color names from the wiki web_colors page
https://en.wikipedia.org/wiki/Web_colors , put them in a file named
'X11_colors.scad', and found that the line
include <X11_colors.scad>
got me this syntax err :
ERROR: Parser error in line 3: syntax error
ERROR: Compilation failed!
The include line is the only line in the code.
So I change the names to several variations, and found that
'X11_colors.scad' is the only one getting syntax error:
include <X10_colors.scad>
include <X12_colors.scad>
include <X11_color.scad>
include <X11_color_names.scad>
include <X11_colors.scad>
WARNING: Can't open include file 'X10_colors.scad'.
WARNING: Can't open include file 'X12_colors.scad'.
WARNING: Can't open include file 'X11_color.scad'.
WARNING: Can't open include file 'X11_color_names.scad'.
ERROR: Parser error in line 7: syntax error
ERROR: Compilation failed!
This is kind of weird.
$ Runsun Pan, PhD
$ -- libs: doctest , faces ( git ), offliner ( git );
tips: hash( 1 , 2 ), sweep , var
$ -- Linux Mint 17.1 Rebecca x64 + OpenSCAD 2015.03.15/2015.04.01.nightly
--
View this message in context: http://forum.openscad.org/Syntax-error-with-specific-include-file-name-tp13382.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Wait, I take it back, pls discard this thread. Sorry for the hassle.
$ Runsun Pan, PhD
$ -- libs: doctest , faces ( git ), offliner ( git );
tips: hash( 1 , 2 ), sweep , var
$ -- Linux Mint 17.1 Rebecca x64 + OpenSCAD 2015.03.15/2015.04.01.nightly
--
View this message in context: http://forum.openscad.org/Syntax-error-with-specific-include-file-name-tp13382p13383.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
color tests do show that all X11 colors, except RebeccaPurple, are
acceptable by OpenSCAD.
WARNING: Color name "rebeccapurple" unknown. Please see
WARNING: http://en.wikipedia.org/wiki/Web_colors
$ Runsun Pan, PhD
$ -- libs: doctest , faces ( git ), offliner ( git );
tips: hash( 1 , 2 ), sweep , var
$ -- Linux Mint 17.1 Rebecca x64 + OpenSCAD 2015.03.15/2015.04.01.nightly
--
View this message in context: http://forum.openscad.org/Syntax-error-with-specific-include-file-name-tp13382p13384.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Wikipedia > On 21 June 2014, the CSS WG added the color RebeccaPurple to the
Editor's Draft of the CSS4 Colors module, to commemorate Eric Meyer's
daughter Rebecca who died on 7 June 2014, her sixth birthday.
That's what happens when you fiddle with established standards.
Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/Syntax-error-with-specific-include-file-name-tp13382p13386.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On 08/01/2015 03:11 AM, MichaelAtOz wrote:
Wikipedia > On 21 June 2014, the CSS WG added the color RebeccaPurple to the
Editor's Draft of the CSS4 Colors module, to commemorate Eric Meyer's
daughter Rebecca who died on 7 June 2014, her sixth birthday.
That's what happens when you fiddle with established standards.
Thanks, added to OpenSCAD too...
(https://github.com/openscad/openscad/pull/1406)
I've validated against all color names from https://drafts.csswg.org/css-color/
and the added RebeccaPurple is the only difference.
ciao,
Torsten.