data-section #3

Merged
sashakoshka merged 42 commits from data-section into main 2022-08-17 18:21:20 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 7bb6582e01 - Show all commits

View File

@ -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
}