No segfaulty
This commit is contained in:
parent
e885af997d
commit
098acafab1
@ -35,7 +35,9 @@ func (section EnumSection) ToString (indent int) (output string) {
|
||||
output += section.permission.ToString() + " "
|
||||
output += section.where.ToString()
|
||||
output += "\n"
|
||||
output += section.argument.ToString(indent + 1)
|
||||
if section.argument != nil {
|
||||
output += section.argument.ToString(indent + 1)
|
||||
}
|
||||
output += section.what.ToString(indent + 1)
|
||||
for _, member := range section.members {
|
||||
output += member.ToString(indent + 1)
|
||||
|
@ -21,3 +21,4 @@ enum ro cNamedColor:bColor
|
||||
enum ro dFromFarAway:typeSection.dInheritFromOther
|
||||
- bird
|
||||
- bread 4
|
||||
|
||||
|
Reference in New Issue
Block a user