﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5949	SimpleModelicaParser does stack overflow on huge arrays	Adrian Pop	Martin Sjölund	"Basically it does {{{diffModelicaFileListings}}} on a file with a *HUGE* diagram annotation.

This needs to be rewritten somehow so that it doesn't blow up the stack:
{{{#!mo
  elseif id==TokenId.LBRACE then
    (tokens, tree) := scan(tokens, tree, TokenId.LBRACE);
    (tokens, tree, b) := LA1(tokens, tree, {TokenId.RBRACE}); // Easier than checking First(expression), etc
    if not b then
      (tokens, tree) := function_arguments(tokens, tree);
    end if;
    (tokens, tree) := scan(tokens, tree, TokenId.RBRACE);
}}}

"	defect	closed	high	1.16.0	Parser		fixed		
