Created
April 5, 2017 10:53
-
-
Save saevarb/53336d0ce148c0824974bd61f59684a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void prettyDeclList(DeclList* declList) { | |
return; | |
} | |
void prettyStaList(DeclList* staListj) { | |
Decl* ptr = staList->head; | |
while(ptr != NULL) { | |
prettyStatement(ptr->current); | |
ptr = ptr->next; | |
} | |
} | |
void prettyBody(Body* body) { | |
prettyDeclList(body->staList); | |
prettyStaList(body->declList); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment