Use c99 instead of ansi due to support int64 in template. Add __LEVEL built-in variab...
[tedtools.git] / data / template.tmpl
index d954d08..f2b33e0 100644 (file)
@@ -70,7 +70,7 @@ str ? "yes" : -1 = <% str ? "yes" : -1 %>
 <@ ENDLOOP @>
 
 <@ LOOP selfLoop@>
-       <@if __FIRST @><ul><@endif@><li><% __COUNTER %> <% NODE %>#<% CNT %> ID:<% ^id %>
+       <@if __FIRST @><ul><li>level: <% __LEVEL %><@endif@><li><% __COUNTER %> <% NODE %>#<% CNT %> ID:<% ^id %>
        <@ SELF @>
        <@ LOOP oneloop@><@if __FIRST @><ol><@endif@><li><% __COUNTER %> oneloop:<% NODE %>#<% CNT %> ID:<% ^id %><@if __LAST @></ol><@endif@><@ ENDLOOP @>
        <@if __LAST @></ul><@endif@>