From 6cf931355b264618879b5bb3ada36067bf246882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 5 Oct 2016 10:25:33 +0200 Subject: lexers: sync language lexers with scintillua rev 568 id 55b15760cd31 Adds a taskpaper lexer. --- lexers/pico8.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lexers/pico8.lua') diff --git a/lexers/pico8.lua b/lexers/pico8.lua index 5e95948..44364f3 100644 --- a/lexers/pico8.lua +++ b/lexers/pico8.lua @@ -12,8 +12,7 @@ local M = {_NAME = 'pico8'} local ws = token(l.WHITESPACE, l.space^1) -- Comments -local line_comment = '//' * l.nonnewline_esc^0 -local comment = token(l.COMMENT, line_comment) +local comment = token(l.COMMENT, '//' * l.nonnewline_esc^0) -- Numbers local number = token(l.NUMBER, l.integer) -- cgit v1.2.3