Mercurial > octave-nkf
changeset 17276:f052d7ccb7dc
Allow empty TeX list {}
* libinterp/corefcn/oct-tex-parser.yy (scoped_element_list): Allow
empty list, as {}.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sun, 18 Aug 2013 21:49:59 -0400 |
parents | 8201f78a0064 |
children | eb8bf49780fb |
files | libinterp/corefcn/oct-tex-parser.yy |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/oct-tex-parser.yy Sun Aug 18 21:39:29 2013 -0400 +++ b/libinterp/corefcn/oct-tex-parser.yy Sun Aug 18 21:49:59 2013 -0400 @@ -182,6 +182,8 @@ scoped_string_element_list : START string_element_list END { $$ = $2; } + | START END + { $$ = new text_element_list (); } ; string : /* empty */