tpl/internal/go_templates: Revert formatting

Should make future fork synch easier.
This commit is contained in:
Bjørn Erik Pedersen
2020-12-03 13:47:43 +01:00
parent d90e37e0c6
commit 718e09ed4b
21 changed files with 173 additions and 322 deletions

View File

@@ -453,7 +453,7 @@ func (t *Tree) parseControl(allowElseIf bool, context string) (pos Pos, line int
var next Node
list, next = t.itemList()
switch next.Type() {
case nodeEnd: // done
case nodeEnd: //done
case nodeElse:
if allowElseIf {
// Special case for "else if". If the "else" is followed immediately by an "if",