lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

>>> So for some reason, despite returning the fact that I said the match 
>>> succeeded, it appears to have failed and is calling it again.
>>> [...]
> I think this line is the culprit:
> Expr = -EndifExpr * (EscapeExpr + CommentExpr + IfExpr + TemplateRefExpr + 
> AttrRefExpr)

Clearly it is the culprit. As you said, EndifExpr succeeds, so
-EndifExpr fails. A later match against IfExpr tries EndifExpr again.

-- Roberto