Mercurial > octave-nkf
view .hgsubstate @ 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 | 18096cd30339 |
children | 203431f40cb2 |