diff src/lex.l @ 8021:85184151822e

fix typo in NPOS change
author John W. Eaton <jwe@octave.org>
date Thu, 07 Aug 2008 15:31:17 -0400
parents 0ef13e15319b
children 2b2ca62f8ab6
line wrap: on
line diff
--- a/src/lex.l	Thu Aug 07 15:17:40 2008 -0400
+++ b/src/lex.l	Thu Aug 07 15:31:17 2008 -0400
@@ -1716,7 +1716,7 @@
 
   size_t pos = retval.find_first_of (" \t");
 
-  if (pos != std::string:npos)
+  if (pos != std::string::npos)
     retval.resize (pos);
 
   return retval;