From c1bf005f1b6e4cb1f5882219a688de0094fa9a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 2 Jan 2016 22:19:39 +0100 Subject: lexer: sync with upstream scintillua rev bdb74a2f31df --- lexers/pure.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lexers/pure.lua') diff --git a/lexers/pure.lua b/lexers/pure.lua index bece406..256a2dc 100644 --- a/lexers/pure.lua +++ b/lexers/pure.lua @@ -1,5 +1,5 @@ +-- Copyright 2015-2016 David B. Lamkins . See LICENSE. -- pure LPeg lexer, see http://purelang.bitbucket.org/ --- Author: David B. Lamkins local l = require('lexer') local token, word_match = l.token, l.word_match @@ -30,10 +30,10 @@ local number = token(l.NUMBER, flt + int) -- Keywords. local keyword = token(l.KEYWORD, word_match{ - 'namespace', 'with', 'end', 'using', 'interface', 'extern', 'let', - 'const', 'def', 'type', 'public', 'private', 'nonfix', 'outfix', - 'infix', 'infixl', 'infixr', 'prefix', 'postfix', 'if', 'otherwise', - 'when', 'case', 'of', 'then', 'else' + 'namespace', 'with', 'end', 'using', 'interface', 'extern', 'let', 'const', + 'def', 'type', 'public', 'private', 'nonfix', 'outfix', 'infix', 'infixl', + 'infixr', 'prefix', 'postfix', 'if', 'otherwise', 'when', 'case', 'of', + 'then', 'else' }) -- Identifiers. -- cgit v1.2.3