# 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 --git a/libinterp/corefcn/oct-tex-parser.yy b/libinterp/corefcn/oct-tex-parser.yy --- a/libinterp/corefcn/oct-tex-parser.yy +++ b/libinterp/corefcn/oct-tex-parser.yy @@ -182,6 +182,8 @@ scoped_string_element_list : START string_element_list END { $$ = $2; } + | START END + { $$ = new text_element_list (); } ; string : /* empty */