removed more Clang warnings

This commit is contained in:
Justin Meza 2013-12-30 12:55:39 -05:00
parent e2c479de2e
commit 33691687d5
2 changed files with 4 additions and 2 deletions

View File

@ -211,7 +211,7 @@ ValueObject *interpretExprNode(ExprNode *, ScopeObject *);
ReturnObject *interpretStmtNode(StmtNode *, ScopeObject *);
ReturnObject *interpretStmtNodeList(StmtNodeList *, ScopeObject *);
ReturnObject *interpretBlockNode(BlockNode *, ScopeObject *);
int interpretMainNode(MainNode *);
int interpretMainNodeScope(MainNode *, ScopeObject *);
/**@}*/
/**
@ -262,6 +262,8 @@ ReturnObject *interpretFuncDefStmtNode(StmtNode *, ScopeObject *);
ReturnObject *interpretExprStmtNode(StmtNode *, ScopeObject *);
ReturnObject *interpretAltArrayDefStmtNode(StmtNode *, ScopeObject *);
ReturnObject *interpretBindingStmtNode(StmtNode *, ScopeObject *);
/* Forward declaration of binding.h function (to break circular dependence) */
void loadLibrary(ScopeObject *, IdentifierNode *);
ReturnObject *interpretImportStmtNode(StmtNode *, ScopeObject *);
/**@}*/

2
main.c
View File

@ -200,7 +200,7 @@ int main(int argc, char **argv)
/* Save state between lines using a ScopeObject structure */
ScopeObject *scope = createScopeObject(NULL);
if (!scope) return 1;
while (line = readline("lci> ")) {
while ((line = readline("lci> "))) {
char *pre = "HAI 1.4\n";
char *post = "\n\nKTHXBYE\n";
char *code = NULL;