svoid test_tok_eventFunctions() { LS tok = jtok("event blubb;"); tok_eventFunctions(tok); print(join(tok)); assertTrueVerbose(jMatch([[ transient L onBlubb; void onBlubb(Runnable r) { onBlubb = syncAddOrCreate(onBlubb, r); } void blubb() { pcallFAll(onBlubb); } ]], tok)); }