diff mercurial/phases.py @ 25001:9668c1a433b3

templater: switch methods table on compileexp() of func args and inner expr The next patch will introduce integer literals, but the schemes extension expects that '{1}', '{2}', ... are interpreted as keywords. This patch allows us to process '{foo(1)}' as 'func(integer)', whereas '{1}' as 'symbol'.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 02 May 2015 18:05:04 +0900
parents 2a73829ebe17
children 22438cfd11b5
line wrap: on
line diff