DataSection.ToString prints external specifier
Data section is now passing unit test! Woo!
This commit is contained in:
parent
aff5b1749c
commit
ac0444bcc9
@ -329,6 +329,11 @@ func (section DataSection) ToString (indent int) (output string) {
|
|||||||
section.permission.ToString(), " ",
|
section.permission.ToString(), " ",
|
||||||
section.name, ":",
|
section.name, ":",
|
||||||
section.what.ToString(indent + 1, true), "\n")
|
section.what.ToString(indent + 1, true), "\n")
|
||||||
|
|
||||||
|
if section.external {
|
||||||
|
output += doIndent(indent + 1, "external\n")
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user