From 8b4d65ac4d55b2b71cede0a4b3d42f4ad21aaeaf Mon Sep 17 00:00:00 2001 From: Vadym Slizov Date: Mon, 14 Sep 2020 16:36:01 +0300 Subject: [PATCH] [refactoring] update ast structure of "InlinHtml" node --- internal/php5/php5.go | Bin 291345 -> 291269 bytes internal/php5/php5.y | 14 +++++++------- internal/php7/php7.go | Bin 243865 -> 243789 bytes internal/php7/php7.y | 14 +++++++------- pkg/ast/node.go | 3 ++- pkg/ast/visitor/filter_tokens.go | 4 ++++ pkg/printer/printer.go | 9 ++------- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/internal/php5/php5.go b/internal/php5/php5.go index 5392ff0446928a6a8795c72598e5956f085ce441..e87357e92158cf68c2af31449675a699e984a979 100644 GIT binary patch delta 88 zcmbREMDXZi!G")) { p.write([]byte("?>")) } p.SetState(HtmlState) - p.write(nn.Value) - - p.printFreeFloating(nn, token.End) + p.printToken(n.InlineHtmlTkn, string(n.Value)) } func (p *Printer) printStmtInterface(n ast.Vertex) {