summaryrefslogtreecommitdiffstats
path: root/src/ast.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix the build with --enable-compile-warnings=errorTing-Wei Lan2015-11-131-0/+3
| | | | | | 1. Add missing 'const' keyword for string literals. 2. Add missing 'static' keyword for internal functions. 3. Add missing default cases for switch statements.
* Merge TA's codes to ourskugwa2015-11-111-0/+179
Delete tmp funtion used in HW2. Move AST functions into ast.c. CONST_INT, CONST_FLOAT, and CONST_STRING all return CONST.