Mercurial > hg > octave-jordi
changeset 11372:566249cf97fb
Fix typo introduced when removing 'i' support in lookup.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Thu, 16 Dec 2010 08:03:21 -0800 |
parents | c767bb1afa03 |
children | a41acdfa97dc |
files | doc/interpreter/doccheck/mk_undocumented_list scripts/miscellaneous/parseparams.m |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/doccheck/mk_undocumented_list +++ b/doc/interpreter/doccheck/mk_undocumented_list @@ -124,6 +124,7 @@ test_try test_unwind test_while +test_parser toc triu unimplemented
--- a/scripts/miscellaneous/parseparams.m +++ b/scripts/miscellaneous/parseparams.m @@ -88,7 +88,7 @@ if (! size_equal (pnames, values) || ! all (strs(i:2:end))) error_as_caller ("options must be given as name-value pairs"); endif - idx = lookup (toupper(names), toupper(pnames), "mi); + idx = lookup (toupper(names), toupper(pnames), "m"); if (! all (idx)) error_as_caller ("unrecognized option: %s", pnames{find (idx == 0, 1)}); else