~ecs/hare.lua

fdcccaab6eb3f13b7409597b6d478feca05b5892 — Ember Sawady 3 years ago 2c8a99d
Add delete builtin
1 files changed, 1 insertions(+), 1 deletions(-)

M hare.lua
M hare.lua => hare.lua +1 -1
@@ 7,7 7,7 @@ local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'hare'}

local builtin = token(l.FUNCTION, word_match{
	'len', 'offset', 'free', 'alloc', 'assert', 'append', 'abort'
	'len', 'offset', 'free', 'alloc', 'assert', 'append', 'abort', 'delete'
})

local comment = token(l.COMMENT, '//' * l.nonnewline_esc^0)