Func section tostring fixes
This commit is contained in:
parent
94967d25e2
commit
7374de2633
@ -278,9 +278,13 @@ func (phrase Phrase) ToString (indent int, ownLine bool) (output string) {
|
||||
output += "["
|
||||
|
||||
switch phrase.kind {
|
||||
case
|
||||
PhraseKindOperator,
|
||||
PhraseKindAssign:
|
||||
case PhraseKindCase:
|
||||
output += ":"
|
||||
|
||||
case PhraseKindAssign:
|
||||
output += "="
|
||||
|
||||
case PhraseKindOperator:
|
||||
|
||||
switch phrase.operator {
|
||||
case lexer.TokenKindColon:
|
||||
|
Reference in New Issue
Block a user