]> git.ipfire.org Git - thirdparty/plymouth.git/commit
[script] Allows definitions of functions to be described within expressions
authorCharlie Brej <cbrej@cs.man.ac.uk>
Thu, 9 Jul 2009 18:19:34 +0000 (19:19 +0100)
committerRay Strode <rstrode@redhat.com>
Fri, 24 Jul 2009 13:30:28 +0000 (09:30 -0400)
commita6bc1a4c7c9bc25447f7f4a6c633305fe1e2819c
tree3f5445dfd26a9f9af8645f1070e2605d5731e428
parent621d0801661418041758ba94856bdd122a5ab745
[script] Allows definitions of functions to be described within expressions

As well as
fun fun_name (foo) {return foo+10;}
now you can also say
fun_name = fun (foo) return foo+10;
src/plugins/splash/script/script-execute.c
src/plugins/splash/script/script-parse.c
src/plugins/splash/script/script.h