removed more Clang warnings
This commit is contained in:
parent
e2c479de2e
commit
33691687d5
|
@ -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
2
main.c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue