Commit Graph

245 Commits

Author SHA1 Message Date
19e45daf89 Fixed crash when opening a file that doesn't exist 2009-07-28 15:41:06 +00:00
77556bc250 Fixed errors and warnings appearing before the problematic line 2009-07-28 15:40:29 +00:00
b149b38cf9 Better handling of directives 2009-07-28 12:25:53 +00:00
5ec29c6031 Added a CppParser class 2009-07-28 11:22:32 +00:00
021ddc8633 Handle comments within directives 2009-07-28 01:04:09 +00:00
de05811a6f cpp.c and scanner.c also depend on common.h 2009-07-27 23:08:22 +00:00
b75baf4903 The usage screen now fits in 80 columns 2009-07-26 21:57:23 +00:00
4a8213ebd7 Initial release 2009-06-17 11:29:50 +00:00
dd11232c1b Re-generated Makefiles 2009-06-16 23:56:07 +00:00
0d3d111df0 Fixed archive generation 2009-03-28 01:45:53 +00:00
6caad7455e Re-generated Makefiles 2009-01-11 21:46:49 +00:00
280d15656a GPLv3'ing 2008-10-15 10:43:33 +00:00
d07d95edec Re-generated Makefiles 2008-09-26 21:20:27 +00:00
20ae778cbc Linking against local libcpp.so by default 2008-06-22 09:45:43 +00:00
77a47f7dff Moved -Wall in CFLAGS (not supported in c99) 2008-06-21 23:43:55 +00:00
87527c878e cpp_get_filename() now returns the top-level filename 2008-06-21 22:26:27 +00:00
e59b767073 Report errors upon malformed include directives 2008-06-21 22:25:39 +00:00
a71a1b3a45 Fixed potential race condition when parsing unusual characters 2008-06-21 22:01:50 +00:00
1d5df73f22 Checking for errors from cpp_path_add() in cpp_new(), Debugging cleanup 2008-06-21 21:56:49 +00:00
a6c00b0502 Re-generated Makefiles 2008-06-04 20:29:51 +00:00
a11928106a Separated parts of cpp.c into common.h and scanner.c 2008-06-04 16:20:14 +00:00
4c8dc326b7 Sub-scopes are no longer taken when a parent should not be 2008-06-04 15:37:48 +00:00
c85694ebfb #defines are no longer processed when out of scope 2008-06-04 15:01:54 +00:00
e270d2a832 Optimized path and define handling, Fixed inclusion scopes 2008-06-01 00:55:00 +00:00
2ccff29aad cpp depends on libcpp.so 2008-06-01 00:51:56 +00:00
3d5ad4f48d Fixed some memory leaks 2008-05-27 01:24:14 +00:00
cb7f99b4c9 cpp_scope_pop() now handles platforms where realloc(a, 0) returns NULL 2008-05-27 01:24:13 +00:00
184130ccf0 Fixed four off by ones (undefined string termination) 2008-05-27 01:24:12 +00:00
e6cf667584 Added workaround to parse macro definitions while they are still not implemented 2008-05-27 01:24:11 +00:00
187a04704d Added a filter for comments 2008-05-13 13:18:18 +00:00
0c17a6cf60 Conforming to the latest configure 2008-05-04 01:52:46 +00:00
b91f36d8bb Added a flag to determine white-space filtering 2008-05-04 01:52:20 +00:00
bebf7cac1a Re-generated Makefile 2008-05-04 01:51:01 +00:00
0a78bcb0d4 Added a filtering flag to determine whether to skip whitespaces 2008-05-03 23:30:06 +00:00
eaf6445c46 Implemented #ifdef and #ifndef 2008-04-24 16:55:58 +00:00
8df40f9cf1 Initial release 2008-04-16 14:45:01 +00:00
0208f627d4 Now tolerating badly quoted content 2008-04-16 14:33:19 +00:00
a4a6f234fd strndup() is not portable 2008-04-15 10:57:01 +00:00
20d1884da6 Re-removing cpp.h 2008-04-15 10:54:47 +00:00
b0c4dd5198 Re-removing 2008-04-15 10:54:29 +00:00
561e24067e Linking dynamically against libSystem 2008-04-12 22:19:00 +00:00
ee982e4f5a Recognizing defines 2008-04-11 10:32:56 +00:00
5260a6ceb8 Removed two more duplicates 2008-03-11 16:34:47 +00:00
eaff3ec685 Two operators were duplicated 2008-03-11 16:21:56 +00:00
a8b1e1b270 Added operator "/=" 2008-03-06 17:42:09 +00:00
77fcd257de Fixed file inclusion 2008-03-04 16:55:11 +00:00
0fbc2b9f62 Fixed confusion between ~ and * 2008-03-03 16:26:18 +00:00
8364a0cf2f Added more missing operators 2008-03-03 16:24:04 +00:00
9c6ae26a9a Added the #line directive 2008-03-03 16:01:30 +00:00
4342ab2ec8 Added another batch of operators (not sure if some belong here) 2008-03-02 16:30:49 +00:00