Sfoglia il codice sorgente

fixed tree identation for meta nodes

master
Nathan R 3 anni fa
parent
commit
4b9d58177b
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      ccmeta.leg

+ 4
- 0
ccmeta.leg Vedi File

@ -3886,17 +3886,21 @@ void outputTree(oop node, int depth)
case Undefined:
return;
case String:
printSpace(depth);
printf("<%s>\n", (get(node, String, value)));
return;
case Map:
break;
case Symbol:
printSpace(depth);
printf("<%s>\n", get(node, Symbol, name));
return;
case Integer:
printSpace(depth);
printf("<%lli>\n", getInteger(node));
return;
case Float:
printSpace(depth);
printf("<%Lf>\n", getFloat(node));
return;
default:

Caricamento…
Annulla
Salva