[SVN] r11830 (K)

Afshin Darian afshin.darian at 1010data.com
Thu Nov 19 22:26:59 UTC 2009


updated function definition to include params list
added _getenv to list of reserved keywords

In K, a function can be defined and used anonymously inline:

not_a_fun: {:x}[34]

but this regex will mistakenly think not_a_fun is a function ... Incidentally, the same thing happens in the JavaScript bundle:

var not_a_fun = function(x){return x;}(34);

will mistakenly think not_a_fun is a function

Changed:
U   trunk/Review/Bundles/K.tmbundle/Syntaxes/K.tmLanguage



More information about the textmate-dev mailing list