D2608: templater: add hint to template parse errors to help locate issues

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sat Mar 3 19:21:55 EST 2018


yuja added inline comments.

INLINE COMMENTS

> templater.py:148
>          elif c == term:
>              yield ('end', None, pos + 1)
>              return

Perhaps this `pos + 1` is the reason why the error location is sometimes wrong.
I'll send a follow up.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2608

To: ryanmce, #hg-reviewers, durin42
Cc: yuja, pulkit, durin42, mercurial-devel


More information about the Mercurial-devel mailing list