comparison scripts/plot/util/close.m @ 18223:615fdd2238c1 gui-release

improve compatibility of command syntax parsing (bug #41032) * lex.h, lex.ll (lexical_feedback::command_arg_paren_count): New data member. (lexical_feedback::lexical_feedback): Initialize it. (lexical_feedback::reset): Reset it. (COMMAND_ARG_FINISH): New macro. Rewrite COMMAND_START patterns to improve Matlab compatibility of command syntax parsing. (<DQ_STRING_START>\", <SQ_STRING_START>\'): Don't return token if start state is COMMAND_START. * close.m: Fix test.
author Michael C. Grant <mcg@cvxr.com>
date Mon, 06 Jan 2014 12:02:04 -0500
parents d63878346099
children 4197fc428c7d
comparison
equal deleted inserted replaced
18222:4d90e104bf35 18223:615fdd2238c1
103 103
104 %!error close (1,2,3) 104 %!error close (1,2,3)
105 %!error <first argument must be "all" or a figure> close ({"all"}) 105 %!error <first argument must be "all" or a figure> close ({"all"})
106 %!error <first argument must be "all" or a figure> close ("all_and_more") 106 %!error <first argument must be "all" or a figure> close ("all_and_more")
107 %!error <first argument must be "all" or a figure> close (-1) 107 %!error <first argument must be "all" or a figure> close (-1)
108 %!error <expecting argument to be "all hidden"> close "all" hid" 108 %!error <expecting argument to be "all hidden"> close all hid
109