~ecs/hare.lua

2c8a99dda379d4ca2810388cdb4cfd5f021a010b — Ember Sawady 3 years ago 0b0e263
Add abort 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'
	'len', 'offset', 'free', 'alloc', 'assert', 'append', 'abort'
})

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