- Reindented stuff (this was needed, really)

This commit is contained in:
ccremers 2005-05-12 13:19:32 +00:00
parent d02621c608
commit a856e795b0

View File

@ -98,7 +98,7 @@ xmlTermPrintInner (const Term term)
{
if (term != NULL)
{
if (realTermLeaf(term))
if (realTermLeaf (term))
{
// Variable?
if (realTermVariable (term))
@ -133,7 +133,7 @@ xmlTermPrintInner (const Term term)
else
{
// Node
if (realTermEncrypt(term))
if (realTermEncrypt (term))
{
if (isTermLeaf (TermKey (term))
&& inTermlist (TermKey (term)->stype, TERM_Function))
@ -148,9 +148,9 @@ xmlTermPrintInner (const Term term)
else
{
printf ("<encrypt><op>");
xmlTermPrintInner (TermOp(term));
xmlTermPrintInner (TermOp (term));
printf ("</op><key>");
xmlTermPrintInner (TermKey(term));
xmlTermPrintInner (TermKey (term));
printf ("</key></encrypt>");
}
}
@ -158,9 +158,9 @@ xmlTermPrintInner (const Term term)
{
// Assume tuple
printf ("<tuple><op1>");
xmlTermPrintInner (TermOp1(term));
xmlTermPrintInner (TermOp1 (term));
printf ("</op1><op2>");
xmlTermPrintInner (TermOp2(term));
xmlTermPrintInner (TermOp2 (term));
printf ("</op2></tuple>");
}
}
@ -261,7 +261,7 @@ xmlAgentsOfRunPrint (const System sys, const int run)
{
xmlPrint ("<role>");
xmlOutTerm ("name", roles->term);
xmlOutTerm ("agent",deVar(agentOfRunRole (sys, run, roles->term)));
xmlOutTerm ("agent", deVar (agentOfRunRole (sys, run, roles->term)));
xmlPrint ("</role>");
roles = roles->next;
}
@ -375,7 +375,7 @@ xmlOutEvent (const System sys, Roledef rd, const int run, const int index)
b = (Binding) dt;
if (b->run_to == run && b->ev_to == index)
{
if (isTermVariable (b->term) && ! b->done)
if (isTermVariable (b->term) && !b->done)
{
// Generate from m0
xmlPrint ("<choose>");