Files
wasmtime/cranelift/filetests/parser/keywords.cton
Jakob Stoklund Olesen 5aa1db2e4f Don't have keywords in the lexer and parser.
Instead of recognizing "function" as a keyword, simply match it as a
context-sensitive keyword in the parser outside functions.
2016-09-20 13:00:37 -07:00

6 lines
140 B
Plaintext

test cat
; 'function' is not a keyword, and can be used as the name of a function too.
function function() {}
; check: function function()