mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 14:19:19 +01:00
last bits for 53
This commit is contained in:
@@ -200,7 +200,8 @@ public class KjcEngine extends PdeEngine {
|
||||
if (PdeBase.getBoolean("compiler.inline_web_colors", true)) {
|
||||
// convert "= #cc9988" into "= 0xffcc9988"
|
||||
//program = substipoot(program, "(=\\s*)\\#([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])", "$1 0xff$2$3$4");
|
||||
program = substipoot(program, "#([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])", "0xff$1$2$3");
|
||||
program = substipoot(program, "#([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])([;\\s])", "0xff$1$2$3$4");
|
||||
program = substipoot(program, "#([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])([;\\s])", "0x$4$1$2$3$5");
|
||||
}
|
||||
|
||||
if ((program.indexOf("void setup()") != -1) ||
|
||||
|
||||
Reference in New Issue
Block a user