Merge branch 'master' of /Users/ernestoestrada/IdeaProjects/PPL-Fall-2018 with conflicts.

This commit is contained in:
Ernesto Estrada
2018-10-22 12:40:13 -06:00
parent 216d31ca59
commit 13efc3fd81
6 changed files with 117 additions and 40 deletions
+7 -8
View File
@@ -179,14 +179,13 @@ public class Parser {
}// <factor>
// check whether token is correct kind
private void errorCheck( Token token, String kind ) {
if( ! token.isKind( kind ) ) {
System.out.println("Error: expected " + token +
" to be of kind " + kind );
System.exit(1);
}
}
//private Node parseFuncDefs() {}
//private Node parseFuncDef() {}
//private Node parseParams() {}
//private Node parseArgs() {}
// check whether token is correct kind and details
private void errorCheck( Token token, String kind, String details ) {