diff src/lex.l @ 5088:7830f271a53f

[project @ 2004-12-01 19:54:45 by jwe]
author jwe
date Wed, 01 Dec 2004 19:54:45 +0000
parents ec98115062d1
children b04b30d30c66
line wrap: on
line diff
--- a/src/lex.l	Mon Nov 22 05:38:37 2004 +0000
+++ b/src/lex.l	Wed Dec 01 19:54:45 2004 +0000
@@ -1213,7 +1213,7 @@
 
   int len = s.length ();
 
-  const octave_kw *kw = octave_kw_lookup (s.c_str (), len);
+  const octave_kw *kw = octave_kw_hash::in_word_set (s.c_str (), len);
 
   if (kw)
     {
@@ -2688,7 +2688,7 @@
 bool
 is_keyword (const std::string& s)
 {
-  return octave_kw_lookup (s.c_str (), s.length ()) != 0;
+  return octave_kw_hash::in_word_set (s.c_str (), s.length ()) != 0;
 }
 
 DEFCMD (iskeyword, args, ,