Added default nil argument kind
This commit is contained in:
parent
0ad1c0b2f4
commit
7bb6582e01
@ -143,8 +143,8 @@ func (phrase *Phrase) ToString (indent int, breakLine bool) (output string) {
|
||||
|
||||
func (argument *Argument) ToString (indent int, breakLine bool) (output string) {
|
||||
if !breakLine { indent = 0 }
|
||||
if argument.value == nil {
|
||||
output += "NIL ARGUMENT"
|
||||
if argument.kind == ArgumentKindNil {
|
||||
output += "NIL-ARGUMENT"
|
||||
if breakLine { output += "\n" }
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user