summaryrefslogtreecommitdiff
path: root/token.c
AgeCommit message (Expand)AuthorFilesLines
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-03-24Allow # alone on lines, as requested by Mickey.ragge1-0/+4
2010-02-25Fix const usage. From Iain Hibbert.ragge1-6/+7
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.ragge1-3/+10
2009-08-23Do not match \r in fastscan. Fixes Jira#PCC-87 but in a different way.ragge1-1/+1
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.gmcgarry1-19/+20
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-08Ignore character constants in traditional mode. Should help Jira#PCC-4.ragge1-0/+2
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.ragge1-478/+447
2009-05-22Fix badly placed BEGIN/yylex(). Caused some #ifdefs not to be handled.ragge1-1/+2
2009-04-19Avoid build failure: isdigit() expects an integer argument.gmcgarry1-1/+1
2009-04-14Make this compile with YYTEXT_POINTER.gmcgarry1-0/+6
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
2008-04-15Don't re-define struct includ here.gmcgarry1-11/+1
2006-09-28Large rewrite of the preprocessor. Now uses lex for tokenizing, andragge1-133/+48
2006-08-05Check in more work on new pre-processor.ragge1-0/+95
2005-05-15Fix cpp. fix BREG strengthening. Now (almost) compiler NetBSD again.ragge1-45/+20
2005-05-15Fix unterminated conditional check.ragge1-1/+2
2005-05-14Remove NEWBUF, it's now mandatory. Start making the preprocessor faster.ragge1-83/+56
2005-05-11Make NEWBUF use recursive including.ragge1-77/+69
2005-04-16Fix bug where // comments did not count up line number.ragge1-3/+3
2005-04-04Start working on newnew buffer handling.ragge1-0/+37
2005-03-20More basic buffer reorganization.ragge1-16/+77
2005-03-19Start working on new-style handling of preprocessing buffers.ragge1-11/+52
2005-03-06Remove use of lex in cpp.ragge1-0/+405