summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2010-04-20One more comment-handling bug found by Iain Hibbert.HEADmasterragge1-0/+1
2010-04-20Forgot to null-terminate yytext. Bug pointed out by Iain Hibbert.ragge1-0/+1
2010-04-18Discard comments in yylex() so that -C works even with comments inragge1-2/+18
2010-04-05Fix broken markup in manpages (from plunky on pcc-list).reed1-1/+1
2010-03-24Allow # alone on lines, as requested by Mickey.ragge1-0/+4
2010-02-25Fix const usage. From Iain Hibbert.ragge4-63/+66
2009-12-31Print out an extra \n before emitting a new line-file directive.ragge1-1/+1
2009-12-31Understand gcc directive #include_next. Solves Jira#PCC-106 by Altamiranus.ragge3-19/+59
2009-09-02Remove prototype which is later declared static. Fixes build with -Werror.gmcgarry1-1/+0
2009-08-23Do not match \r in fastscan. Fixes Jira#PCC-87 but in a different way.ragge1-1/+1
2009-08-15Must expand identifier in #include directive. sloscan() don't do it andragge1-1/+12
2009-08-13Handling of character constants in #if expressions broke when the preprocessorragge1-4/+8
2009-08-13Add -Wtruncate option which detects truncation of types during assignment.gmcgarry2-24/+26
2009-08-11Substitute \n for ' ' in argument lists, otherwise there will be unwantedragge1-0/+1
2009-08-09Print out a \n before prtline() in an #endif, otherwise we may end up withragge1-1/+3
2009-08-09Line endings with \ were not concatenated to next line iside strings.ragge1-3/+2
2009-08-09Add dependencies so that "make -j 42" can be run. Fixes Jira#PCC-71ragge1-0/+1
2009-08-08Ignore character constants in traditional mode. Should help Jira#PCC-4.ragge1-0/+2
2009-08-08Must accept identifiers beginning with a digit in macro expansion, so thatragge1-1/+18
2009-08-07Check for \t was accidentally written \n, causing #<tab>define to fail.ragge1-1/+1
2009-08-07Fix bug where string with escaped char would not terminate. Fixes bugragge1-11/+11
2009-08-04Always print out a \n after a directive that turned false, to avoidragge1-15/+30
2009-08-01Significant update of cpp, now runs in only around 10% time compared to before.ragge7-606/+597
2009-05-22Fix badly placed BEGIN/yylex(). Caused some #ifdefs not to be handled.ragge1-1/+2
2009-04-20Increase pushback buffer to CPPBUF size. Fixes #PCC-51.ragge1-1/+1
2009-04-19Avoid build failure: isdigit() expects an integer argument.gmcgarry1-1/+1
2009-04-18Switch over to use token.c instead och abusing lex for tokenizing.ragge1-1/+1
2009-04-14Make this compile with YYTEXT_POINTER.gmcgarry1-0/+6
2009-04-12Build on solaris 10.gmcgarry1-1/+1
2009-03-12Check if pushback buffer overflows.ragge1-3/+12
2009-03-09Fix a few \n bugs.ragge1-7/+14
2009-03-08Start the slow move towards a better cpp. This tokenizer is work-in-progress.ragge1-335/+995
2009-02-14Accept continuation lines followed by \r\n (msdos style). Fixes Jira#PCC-32.ragge1-2/+3
2009-01-31Assign return values from write() to a variable even if the value isragge1-5/+7
2009-01-08Limit the size of CPPBUF on win32, which was causing read() to always fail.gmcgarry1-1/+4
2008-12-07Compile with gcc -c99. From Thorsten Glaser.gmcgarry1-4/+2
2008-11-24Add compile-time option to print out time used in execution.ragge1-0/+17
2008-08-21Accept // as comment in #if directives, as pointed out by Daniel Dickman.ragge1-0/+4
2008-08-18Fix bug causing an identifier with the same name as a function-like macroragge1-26/+22
2008-08-18Fix bug where stray non-alphanumeric character after # would causeragge1-0/+9
2008-08-16Must delay _Pragma -> #pragma conversion until printout, otherwiseragge2-14/+58
2008-08-15Understand the ##arg syntax for gnu cpp.ragge1-1/+28
2008-08-10Remove use of alloca() altogether in favour for malloc()/free().ragge1-16/+22
2008-08-09Substitute EXEEXT from autoconf.gmcgarry1-0/+1
2008-08-08Also try to find alloca() declaration in malloc.h.gmcgarry1-0/+3
2008-08-08Append $(EXEEXT) to binary names.gmcgarry1-1/+1
2008-08-08Increase the flex buffer to 512k; even if C99 only supports 4k there areragge1-1/+1
2008-07-29Fix bug where double macro expansion could cause an internal error.ragge1-0/+2
2008-07-25Use full path to manpages so pcc can be build out of the source tree.gmcgarry1-1/+1
2008-07-18Cleanup CFLAGS and CPPFLAGS handling. Only pass include paths and defines to...gmcgarry1-2/+2