Commit Graph

177 Commits

Author SHA1 Message Date
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
6ba294f137 Was missing "[" 2008-03-13 19:26:12 +00:00
5e0df735ff Was still empty 2008-03-13 18:59:08 +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
e88ac21c19 Initial release 2008-03-13 16:30:58 +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
2de83f2021 Fixed the typedef-name set 2008-03-12 03:10:59 +00:00
ada596ecf5 Minor optimization 2008-03-12 01:03:13 +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
e890e7c02c Fixed designator 2008-03-11 17:38:45 +00:00
638c5e8e00 Implemented initializer list 2008-03-11 17:25:58 +00:00
8e57d7a2b5 Compiles again 2008-03-11 17:24:57 +00:00
80417cc5aa Added a couple sets 2008-03-11 17:23:26 +00:00
b038a0a175 Initial release 2008-03-11 17:23:07 +00:00
7a94499916 More friendly error messages 2008-03-11 16:40:36 +00:00
e6cf500ea0 Simplified operator detection code 2008-03-11 16:35:17 +00:00
068f844945 Got rid of some compilation warnings 2008-03-11 16:06:45 +00:00
f0496089e0 Added crude constant recognition 2008-03-11 16:04:59 +00:00
2c3469c01b Worked on argument expression lists 2008-03-07 18:33:09 +00:00
f6e61ce4e2 Fixed crash upon end of file 2008-03-07 02:11:32 +00:00
dd600a54ba Still working on the parser 2008-03-07 02:07:13 +00:00
1a142ba785 Added more parsing rules 2008-03-07 01:54:16 +00:00
2a412d727e More parsing rules 2008-03-07 00:48:42 +00:00
62eca79a12 Skipping meta tokens when scanning 2008-03-06 20:52:50 +00:00
5a5319c4c7 Disabling debugging information by default 2008-03-06 18:46:50 +00:00
9ae7bbd82e Fixed storage-class-specifier 2008-03-06 18:43:42 +00:00
f6e80139c3 Completing the parsing code 2008-03-06 18:24:18 +00:00
9f8f3fe02b Working some more on the parser 2008-03-06 18:13:12 +00:00
c197d78957 Working on the parser 2008-03-06 18:02:44 +00:00
d1715486d4 Implemented identifier-list 2008-03-06 17:45:23 +00:00
6d56a972a3 Parsing some more 2008-03-06 17:41:14 +00:00
2f77bc1b94 Initial release 2008-03-06 03:30:10 +00:00
5a1ddbf786 Beginning to parse 2008-03-06 03:29:22 +00:00
7def83c66a Moved to ../include 2008-03-06 02:40:19 +00:00
c0b93a483a Re-organized the code entirely (soon possible to create a library) 2008-03-04 16:39:15 +00:00
3dd2f84507 Put main() into a separate file 2008-03-04 16:19:45 +00:00
56f77e7b48 Adding c99_parse() 2008-03-04 14:38:32 +00:00
8878a2564b Code cleanup 2008-03-04 14:29:40 +00:00
c66c897c92 Removed some unused parameters 2008-03-04 14:23:31 +00:00
511fc90b1b Added token sets 2008-03-04 14:18:19 +00:00
e5cf5b0385 Handling the optimization flags on the command line 2008-03-02 17:06:14 +00:00
94d04c88ec Constified around handling of -U 2008-03-02 01:49:28 +00:00
c60e0f9f4a Working on defines 2008-03-02 01:43:43 +00:00
373d1fe7a9 Implemented -I 2008-02-29 16:35:00 +00:00
f03da2e51b Nicer error output 2008-02-29 16:29:38 +00:00
5dbb18bc1d Implemented -E 2008-02-29 16:24:34 +00:00
9dd506211d Improved the preferences structure 2008-02-29 15:30:05 +00:00
70c985c088 Code cleanup, preparing for libcpp, fixed use-after-free 2008-02-27 02:16:36 +00:00
b3f4a2d4c3 Code cleanup 2008-02-26 12:40:25 +00:00
967b3a4fc2 Code cleanup 2008-02-26 12:39:31 +00:00
9a24f48b1d Properly licensed as part of the DeforaOS Project 2007-06-13 18:39:31 +00:00
bca3f3fb88 Going on 2006-10-22 13:50:31 +00:00
86f0da1e3a Completing usage case 2006-10-22 13:25:31 +00:00
c1170fcb7d Fixed a compilation warning 2006-10-22 13:15:33 +00:00
d3fc4dc131 Initial release 2006-10-22 13:14:26 +00:00