changeset 12801:2837514cf178

codesprint: Add tests for iskeyword() to lex.ll * lex.ll: Add tests for iskeyword()
author Rik <octave@nomad.inbox5.com>
date Sat, 16 Jul 2011 10:39:31 -0700
parents bde2c81aa2e6
children 412882f498b4
files src/lex.ll
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lex.ll	Sat Jul 16 13:34:32 2011 -0400
+++ b/src/lex.ll	Sat Jul 16 10:39:31 2011 -0700
@@ -3450,6 +3450,14 @@
   return retval;
 }
 
+/*
+
+%!assert (iskeyword ("for"))
+%!assert (iskeyword ("fort"), false)
+%!assert (iskeyword ("fft"), false)
+
+*/
+
 void
 prep_lexer_for_script_file (void)
 {