Commit Graph

66 Commits

Author SHA1 Message Date
7af6d01b12 Fixed ambiguity between postfix_expr and primary_expr (left parenthesis) 2008-06-19 15:51:00 +00:00
05b4a9c58e Fixed direct-declarator grammar 2008-06-19 15:06:47 +00:00
84a6922824 Added stub for storage class specification 2008-06-12 23:44:35 +00:00
73dcf8a614 Report errors on duplicate storage class specifier 2008-06-12 23:21:13 +00:00
12b85ac9c0 Partially fixed "for" loops 2008-06-12 05:40:24 +00:00
efda6685e3 Worked on the ambiguity between cast-expr and unary-expr 2008-06-12 05:40:23 +00:00
266efcd35d Probably nicer error handling of expression-statement 2008-06-12 05:40:22 +00:00
8c15dc13e9 Trying to disambiguate labels 2008-06-12 05:40:21 +00:00
1a1d24c6e4 Getting rid of ambiguities between casts and sizeof with expressions 2008-06-12 05:40:17 +00:00
5689b654bc conditional-expression is no longer recursive 2008-06-12 05:40:16 +00:00
c44c0e4bd6 Apparently handling enumerations a bit better 2008-06-12 05:40:15 +00:00
29b5cb4e51 Forgot to remove some debugging messages 2008-06-12 05:40:14 +00:00
be3f869258 Made the Code class much more intelligent 2008-06-12 05:40:13 +00:00
2a2c993e87 Code cleanup, Fixed compilation 2008-06-12 05:40:12 +00:00
84ad44c0f4 Fixed a comment 2008-06-12 05:40:11 +00:00
b106efc74f Fixed designator 2008-06-12 05:40:10 +00:00
00da3ddba8 Fixed error handling from the Code function handlers 2008-06-12 05:40:09 +00:00
1ba882052d Fixed a number of bugs and conforming to the Code API 2008-06-03 09:47:47 +00:00
5cc0e11bf4 Integrated the assembler to the compilation framework 2008-05-05 14:36:07 +00:00
5f4a5bf433 No longer exposing c99_scan() publicly 2008-05-04 01:55:54 +00:00
557df7e414 Added initial code generation helpers 2008-04-11 13:05:07 +00:00
a7b6acdccc Removed part of the ambiguity between abstract declarators or not in parameters 2008-03-18 18:54:11 +00:00
ec8acd14af Parse until the end of the file even upon errors 2008-03-18 18:07:55 +00:00
72a75f666e Tracking down some more errors 2008-03-14 03:43:14 +00:00
1534e4933a Error count was sometimes omitted 2008-03-14 02:49:49 +00:00
adced59b1a Fixed two potentially uninitialized return values 2008-03-14 02:45:41 +00:00
d1257d2e4e Also avoiding segfaults while printing debugging information 2008-03-14 02:40:55 +00:00
451ad81a66 Reporting errors upon unexpected end of file, simplified enumeration list 2008-03-14 02:31:50 +00:00
bb4686874a Fixed more potential segfaults 2008-03-14 02:19:30 +00:00
a281b0da34 Using wrapper around token_in_set() to avoid segfaults 2008-03-14 02:15:12 +00:00
e0316a7f12 Fixed more segfaults 2008-03-14 02:09:03 +00:00
d1fce35c7f Less segfaults and tracking more errors 2008-03-14 01:58:22 +00:00
f8c779142b Trying to fix abstract declarator 2008-03-14 01:37:52 +00:00
03f1e24d2b Reporting the error count after compilation 2008-03-13 19:27:03 +00:00
ed8f21021b Working some more on parsing 2008-03-13 18:46:21 +00:00
0e27f79296 Simplified parameter list handling 2008-03-13 18:35:12 +00:00
77cf443ad0 Fixed the grammar for parameter-declaration 2008-03-13 18:30:31 +00:00
a969828475 Fixed parsing structs, unions and a segfault 2008-03-13 18:12:46 +00:00
573e14f999 Fixed some error reporting and declaration specifiers 2008-03-13 18:03:19 +00:00
1c583e006e No longer segfault upon error at end of file 2008-03-13 17:28:07 +00:00
9c48578042 Fixed some format strings 2008-03-13 16:48:46 +00:00
07c1ef501d Fixed most segfaults near EOF 2008-03-13 16:30:47 +00:00
adafc6f2ec Need a full review now that the theoretical grammar is implemented 2008-03-13 16:01:24 +00:00
6c4c881adf Now parsing structs and unions 2008-03-13 15:59:46 +00:00
deea46241f Now parsing enum definitions 2008-03-13 15:39:20 +00:00
ce02812a87 Implemented enumerator-list 2008-03-13 15:34:27 +00:00
bdfaf81886 Implemented enum-specifier 2008-03-13 15:32:11 +00:00
bfd2123c78 Working some more on the parser 2008-03-13 15:24:02 +00:00
92247055fa Reporting also pre-processing errors 2008-03-11 17:48:11 +00:00
2ef284cec7 Implemented some more 2008-03-11 17:39:36 +00:00