Fortunately I guessed right but I agree with all the comments above.
Even assuming you were not referring to creating stored procedures in a batch, the answer for me was still not clear.
Is 'nesting level exceeded' considered a syntax error?
Yes, the code executes... at least until nesting level exceeded.
Is it an infinite loop when it stops without user intervention with an error?
Too many questions to answer.
I was lucky.
[font="Comic Sans MS"]"The difficult tasks we do immediately, the impossible takes a little longer"[/font]