aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-29Fix invalid freeing of read/write functionsTucker Evans
Function names must be strdup from constants so the strings can later be freed when the scope is popped.
2019-09-29Add io functions to base scopeTucker Evans
2019-09-29Merge branch 'master' of git.tuckerevans.com:/srv/git/private/pascal_compilerTucker Evans
Fix white space at end of lines in Testing files
2019-09-29Add notes on location of freesTucker Evans
2019-09-29Fix print tree only if DEBUG is setTucker Evans
2019-09-25Squashed commit of the following:Tucker Evans
commit 5feabbc13a2edc8c5088f8a6163c729921f4119b Author: Tucker Evans <tuckerevans24@gmail.com> Date: Wed Sep 25 19:48:52 2019 -0400 Update Semantic Check List after initial testing w/ Tino's tests commit d86de7957451e485c90e2354042e7e6bfb04a13f Author: Tucker Evans <tuckerevans24@gmail.com> Date: Wed Sep 25 19:48:27 2019 -0400 Add variations to Tino's tests commit df5b9a51ce309b76e046aecfedd0960e7fa9984f Author: Tucker Evans <tuckerevans24@gmail.com> Date: Wed Sep 25 19:12:50 2019 -0400 Add Tino's test files Files correspond to semantic check list entries
2019-09-25Fix dangling elseTucker Evans
2019-09-23Fix frees id strings when not placed in node.Tucker Evans
2019-09-23Fix node freeingTucker Evans
2019-09-20Fix removes some string duplicationTucker Evans
2019-09-20Fix double free of array infoTucker Evans
2019-09-16Updates pascal check filesTucker Evans
2019-09-16Update Semantic checklistTucker Evans
2019-09-16Fix arguments being freed to earlyTucker Evans
Moved freeing argument tree into function/procedure parsing not parameter list parsing (in update_types), so function/procedure could set parameter types correctly.
2019-09-15Fix free whole program tree not id_listTucker Evans
2019-09-15Add frees id_list/type trees after update ID typesTucker Evans
2019-09-13Add free_list to free all nodes in linked listTucker Evans
2019-09-12Merge branch 'master' into mem-managementTucker Evans
2019-09-12Add some debug print methods to pc.yTucker Evans
2019-09-12Fix setting type for multiple declared arraysTucker Evans
2019-09-11Adds type checking procedure argumentsTucker Evans
2019-09-08Add checking types on function callTucker Evans
2019-09-05Add new type check files for func/proc argumentsTucker Evans
2019-09-05Fix debug printsTucker Evans
- Removes tree_print from function parsing - ID can't have ID as child, removes check in tree_print
2019-09-05Add procedure argument typesTucker Evans
2019-09-05Fix count_args to handle single variable parametersTucker Evans
2019-09-05Add function argument typesTucker Evans
2019-09-05Add counting of function argumentsTucker Evans
2019-09-04Merge branch 'type_checking' into func-array_infoTucker Evans
2019-09-03Add unary minus to parsingTucker Evans
2019-08-29Add for loop type checkingTucker Evans
2019-08-29Fix consolidate yyerror calls to after switchTucker Evans
Any failed type checking now sets buf string to error message and breaks out of switch case and will then call yyerror with buf string.
2019-08-29Fix return value for correctly typed statementsTucker Evans
Change okay return value to 1 so 0 can be used to denote an unset return type
2019-08-29Add more test filesTucker Evans
2019-08-18Merge branch 'master' into mem-managementTucker Evans
2019-08-18Add for loop parsingTucker Evans
Also fixes tree printing
2019-08-18Fix scope header to match funcs in scope.cTucker Evans
2019-08-18Fix clean up header includesTucker Evans
2019-08-18Add WHILE to tree_printTucker Evans
2019-08-18Add while (and holding place for for) type checkingTucker Evans
2019-08-17Fix deal with and/or ops correctly in type checkingTucker Evans
2019-08-17Add Type checking if statement conditionTucker Evans
2019-08-17Add if statements to tree printTucker Evans
Removes printing tree during return type setting
2019-08-17Fix not type checkingTucker Evans
2019-08-17Add array type checkingTucker Evans
2019-08-17Fix error messages for RELOP type checkingTucker Evans
Removes debug prints
2019-08-17Add allows expressions as statementsTucker Evans
2019-08-17Fix error message for ADDOP/MULOPTucker Evans
Removes some debugging prints
2019-08-17Fix debug_print calls in tokenizerTucker Evans
Was printing RELOP for ADDOP&MULOPs
2019-08-17Fix MULOP/ADDOP return BOOL in check_ret_typeTucker Evans
Removes some debug printing