Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Generate code for expressions and assignments | Ting-Wei Lan | 2016-01-02 | 1 | -0/+1 |
| | |||||
* | Initialize the register pool | kugwa | 2015-12-31 | 1 | -0/+2 |
| | | | | | additional changes: TODO: ccmmc_register_fini() | ||||
* | Drop any_error from state and add asm_output to state | Ting-Wei Lan | 2015-12-30 | 1 | -1/+2 |
| | |||||
* | We are going to do semantic analysis | Ting-Wei Lan | 2015-12-06 | 1 | -0/+1 |
| | |||||
* | Fix indent and broken include guard in state.[ch] | Ting-Wei Lan | 2015-12-06 | 1 | -5/+5 |
| | |||||
* | Drop all non-namespaced symbols | Ting-Wei Lan | 2015-12-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | 1. All data types and macros in headers, global variables and functions that have external linkage are namespaced. The only two files that allow non-namespaced symbols are main.c and common.h. common.h should not be included by any other headers. 2. Coding style is fixed when possible. 3. Drop unused variables or struct members. 4. 'name' macro is renamed to 'prog_name' to prevent conflicts with ast.h. 5. %union includes a CON_Type (now CcmmcValueConst) instead of a pointer to it. This prevents an unnecessary malloc. 6. Fix buffer overflow in draw.c. draw.c should not modify the input AST while generating the graph. | ||||
* | Drop line_number and prog global variables | Ting-Wei Lan | 2015-12-02 | 1 | -0/+21 |
All important states should be stored in the local struct allocated in main function. |