comparison src/symtab.cc @ 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 163d20e4d39c
comparison
equal deleted inserted replaced
8020:1d2bcc163c4d 8021:85184151822e
907 bool& args_evaluated) 907 bool& args_evaluated)
908 { 908 {
909 octave_value retval; 909 octave_value retval;
910 size_t pos = name.find_first_of (Vfilemarker); 910 size_t pos = name.find_first_of (Vfilemarker);
911 911
912 if (pos == std::string:npos) 912 if (pos == std::string::npos)
913 retval = find (name, args, arg_names, evaluated_args, args_evaluated, true); 913 retval = find (name, args, arg_names, evaluated_args, args_evaluated, true);
914 else 914 else
915 { 915 {
916 std::string fcn_scope = name.substr(0, pos); 916 std::string fcn_scope = name.substr(0, pos);
917 scope_id stored_scope = xcurrent_scope; 917 scope_id stored_scope = xcurrent_scope;