Argument kind is now called .kind instead of .what
This commit is contained in:
@@ -124,7 +124,7 @@ func (phrase *Phrase) ToString (indent int, breakLine bool) (output string) {
|
||||
func (argument *Argument) ToString (indent int, breakLine bool) (output string) {
|
||||
if !breakLine { indent = 0 }
|
||||
|
||||
switch argument.what {
|
||||
switch argument.kind {
|
||||
case ArgumentKindPhrase:
|
||||
output += doIndent (
|
||||
indent,
|
||||
|
||||
Reference in New Issue
Block a user