# HG changeset patch # User Michael Goffioul # Date 1376876999 14400 # Node ID f052d7ccb7dc99c35cc423b0c3fd322a8aa46662 # Parent 8201f78a006458c4c063c1d4b1b40eda55724f0c Allow empty TeX list {} * libinterp/corefcn/oct-tex-parser.yy (scoped_element_list): Allow empty list, as {}. diff -r 8201f78a0064 -r f052d7ccb7dc libinterp/corefcn/oct-tex-parser.yy --- 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 */