You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Colorization fails at 9 nested JavaScript functions #10908
alexandrudima we've seen this before right? I can't find the issue now but I remember seeing something similar. There was a constant we set for when we would stop colorizing. Can you remember this issue? Maybe it was someone else on the team.
Since at the end of the file, the rule stack drops down (the grammar pops states), this is not a grammar bug, we should simply increase our max rule stack length.
Activity
waderyan commentedon Aug 25, 2016
alexandrudima we've seen this before right? I can't find the issue now but I remember seeing something similar. There was a constant we set for when we would stop colorizing. Can you remember this issue? Maybe it was someone else on the team.
alexdima commentedon Aug 26, 2016
Wade Anderson (@waderyan) yes, we have similar issues. I opt not to collapse them until we find the root cause in each of them.
alexdima commentedon Aug 29, 2016
From debugging, each nested level increases the rule stack by 4 elements. Rule stack length at the end of each line:
Since at the end of the file, the rule stack drops down (the grammar pops states), this is not a grammar bug, we should simply increase our max rule stack length.
alexdima commentedon Aug 29, 2016
Let's track in #9937