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 += "["
|
output += "["
|
||||||
|
|
||||||
switch phrase.kind {
|
switch phrase.kind {
|
||||||
case
|
case PhraseKindCase:
|
||||||
PhraseKindOperator,
|
output += ":"
|
||||||
PhraseKindAssign:
|
|
||||||
|
case PhraseKindAssign:
|
||||||
|
output += "="
|
||||||
|
|
||||||
|
case PhraseKindOperator:
|
||||||
|
|
||||||
switch phrase.operator {
|
switch phrase.operator {
|
||||||
case lexer.TokenKindColon:
|
case lexer.TokenKindColon:
|
||||||
|
Reference in New Issue
Block a user