Change anon function parser to use {}