From 19a96249319e6bf262c15578adddca0768e7ded7 Mon Sep 17 00:00:00 2001 From: ia Date: Sun, 17 Jun 2018 00:37:47 +0200 Subject: [PATCH] all: gofmt Run standard gofmt command on project root. - go version go1.10.3 darwin/amd64 Signed-off-by: ia --- node/expr/n_new.go | 2 +- node/expr/n_static_call.go | 4 ++-- node/stmt/n_switch.go | 2 +- php5/php5.go | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/node/expr/n_new.go b/node/expr/n_new.go index c68b102..9323f48 100644 --- a/node/expr/n_new.go +++ b/node/expr/n_new.go @@ -7,7 +7,7 @@ import ( // New node type New struct { - Class node.Node + Class node.Node ArgumentList *node.ArgumentList } diff --git a/node/expr/n_static_call.go b/node/expr/n_static_call.go index 0324a6c..0f87f93 100644 --- a/node/expr/n_static_call.go +++ b/node/expr/n_static_call.go @@ -7,8 +7,8 @@ import ( // StaticCall node type StaticCall struct { - Class node.Node - Call node.Node + Class node.Node + Call node.Node ArgumentList *node.ArgumentList } diff --git a/node/stmt/n_switch.go b/node/stmt/n_switch.go index f99963e..af9bd65 100644 --- a/node/stmt/n_switch.go +++ b/node/stmt/n_switch.go @@ -7,7 +7,7 @@ import ( // Switch node type Switch struct { - Cond node.Node + Cond node.Node CaseList *CaseList } diff --git a/php5/php5.go b/php5/php5.go index 79eac1b..f4fa5f9 100644 --- a/php5/php5.go +++ b/php5/php5.go @@ -347,7 +347,6 @@ const yyErrCode = 2 const yyInitialStackSize = 16 //line php5/php5.y:6782 - type simpleIndirectReference struct { all []*expr.Variable last *expr.Variable