Fix printing of schema symbols
This commit is contained in:
parent
23d34d1468
commit
df53ff0d41
|
@ -114,8 +114,11 @@ proc `$`*(n: SchemaNode): string =
|
|||
result.add "#!" & $n.embed
|
||||
of snkLiteral:
|
||||
case n.value.kind
|
||||
of pkBoolean, pkFloat, pkDouble, pkSignedInteger, pkString, pkByteString, pkSymbol:
|
||||
of pkBoolean, pkFloat, pkDouble, pkSignedInteger, pkString, pkByteString:
|
||||
result.add $n.value
|
||||
of pkSymbol:
|
||||
result.add '='
|
||||
result.add n.value.symbol
|
||||
else:
|
||||
result.add "<<lit>" & $n.value & ">"
|
||||
of snkSequenceOf:
|
||||
|
|
Loading…
Reference in New Issue