Mercurial > octave-nkf
comparison libinterp/interpfcn/symtab.cc @ 15467:049e8bbff782
maint: periodic merge of stable to default
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 01 Oct 2012 18:30:44 -0400 |
parents | src/symtab.cc@d174210ce1ec src/symtab.cc@44d6ffdf9479 |
children | 10142aad4b9f e603ce23f20c |
comparison
equal
deleted
inserted
replaced
15465:ded4ce76ee7a | 15467:049e8bbff782 |
---|---|
1702 if (! error_state) | 1702 if (! error_state) |
1703 { | 1703 { |
1704 retval = symbol_table::varval (name); | 1704 retval = symbol_table::varval (name); |
1705 | 1705 |
1706 if (retval.is_undefined ()) | 1706 if (retval.is_undefined ()) |
1707 error ("variable_value: `%s' is not a variable in the current scope", | 1707 error ("variable_value: '%s' is not a variable in the current scope", |
1708 name.c_str ()); | 1708 name.c_str ()); |
1709 } | 1709 } |
1710 else | 1710 else |
1711 error ("variable_value: expecting variable name as first argument"); | 1711 error ("variable_value: expecting variable name as first argument"); |
1712 } | 1712 } |