diff options
author | Andy Wingo <wingo@pobox.com> | 2010-12-10 11:33:18 +0100 |
---|---|---|
committer | Ian Price <ianprice90@googlemail.com> | 2013-09-09 17:01:23 +0100 |
commit | a0cecd8ff2b98cac4864aacadd28747558d14973 (patch) | |
tree | fa2827e143be81076edd995df201dae690b709e5 /module/language/lua/lexer.scm | |
parent | 32c58e2eddadff3939361124b0f81ab9c35c7a5a (diff) | |
download | guile-a0cecd8ff2b98cac4864aacadd28747558d14973.tar.gz |
lua/common cleanup
* module/language/lua/common.scm: Remove `or-eqv?'. Make a bit more
idiomatic.
* module/language/lua/compile-tree-il.scm:
* module/language/lua/lexer.scm:
* module/language/lua/parser.scm:
* module/language/lua/runtime.scm: Replace or-eqv? instances with memq
or memv.
Diffstat (limited to 'module/language/lua/lexer.scm')
-rw-r--r-- | module/language/lua/lexer.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/language/lua/lexer.scm b/module/language/lua/lexer.scm index 63c4ffac0..d83b69ec4 100644 --- a/module/language/lua/lexer.scm +++ b/module/language/lua/lexer.scm @@ -58,7 +58,7 @@ (define (possible-keyword token) "Convert a symbol to a keyword if it is a reserved word in Lua" - (if (or-eqv? token '(return function end if then elseif else true false nil or and do while repeat until local for break in not)) + (if (memq token '(return function end if then elseif else true false nil or and do while repeat until local for break in not)) (symbol->keyword token) token)) |