Quick Search:

View detailed chart Line History

line history graph

View Mode

Logical Physical

Show Arbitrary Diff

From to

Supports revisions and tags.

Watches and RSS

History

MAIN 1.50 1.1

latest revision download Branch MAIN

1.50 annotated / raw | Diffs: previous, other | Lines: 939 ( +2, -2 )

Created: 2011-06-03 17:42:45 +0200 (3 years 6 months ago) | Author: plunky | Changeset: MAIN:plunky:20110603154245

rename CPP_DEBUG as PCC_DEBUG

Branch point for: r-1-1-0

Tags: newstyle_cpp r-1-1-0$BP r-1-1-0-RELEASE

1.49 annotated / raw | Diffs: previous, other | Lines: 939 ( +4, -3 )

Created: 2009-02-14 10:23:55 +0100 (5 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20090214092355

Accept continuation lines followed by \r\n (msdos style). Fixes Jira#PCC-32.

Branch point for: r-1-0-0 r-1-0-1

Tags: r-1-0-0$BP r-1-0-0-RELEASE r-1-0-1$BP

1.48 annotated / raw | Diffs: previous, other | Lines: 938 ( +5, -1 )

Created: 2008-08-21 18:32:40 +0200 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080821163240

Accept // as comment in #if directives, as pointed out by Daniel Dickman.

1.47 annotated / raw | Diffs: previous, other | Lines: 934 ( +10, -1 )

Created: 2008-08-18 16:09:33 +0200 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080818140933

Fix bug where stray non-alphanumeric character after # would cause
cpp to fail.  Bug reported by Artur Grabowski.

1.46 annotated / raw | Diffs: previous, other | Lines: 925 ( +18, -3 )

Created: 2008-08-16 17:27:27 +0200 (6 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20080816152727

Must delay _Pragma -> #pragma conversion until printout, otherwise
the pragma stmt may end up at the wrong place. Spotted by gmcgarry.

1.45 annotated / raw | Diffs: previous, other | Lines: 910 ( +2, -2 )

Created: 2008-08-08 19:35:25 +0200 (6 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20080808173525

Increase the flex buffer to 512k; even if C99 only supports 4k there are
people that write 450k macros.

1.44 annotated / raw | Diffs: previous, other | Lines: 910 ( +2, -2 )

Created: 2008-07-02 03:12:41 +0200 (6 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080702011241

Add -P flag to inhibit line markers in output.  Compatible with gcc flag.

1.43 annotated / raw | Diffs: previous, other | Lines: 910 ( +2, -2 )

Created: 2008-06-30 09:17:59 +0200 (6 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080630071759

Cast yytext to usch before passing to charcon().

1.42 annotated / raw | Diffs: previous, other | Lines: 910 ( +12, -10 )

Created: 2008-06-29 14:54:03 +0200 (6 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20080629125403

Let macros inside character constants be expanded if traditional.
XXX - not a perfect solution.

1.41 annotated / raw | Diffs: previous, other | Lines: 908 ( +7, -2 )

Created: 2008-06-25 21:36:49 +0200 (6 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20080625193649

Must handle as octal if number begins with 0 when expanding macros also.

1.40 annotated / raw | Diffs: previous, other | Lines: 903 ( +2, -2 )

Created: 2008-05-11 18:55:03 +0200 (6 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20080511165503

Spelling error, from Pierre Riteau.

1.39 annotated / raw | Diffs: previous, other | Lines: 903 ( +2, -6 )

Created: 2008-04-19 11:48:01 +0200 (6 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20080419094801

open(2) can fail with many different errors (ENOTDIR, EPERM, ...) so we
must try next include file if open fails, not bail out.

1.38 annotated / raw | Diffs: previous, other | Lines: 907 ( +8, -2 )

Created: 2008-04-15 11:56:27 +0200 (6 years 8 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080415095627

Test for header before inclusion.  Test on availability of variadic macros.

1.37 annotated / raw | Diffs: previous, other | Lines: 901 ( +14, -2 )

Created: 2008-04-13 18:36:56 +0200 (6 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20080413163656

Always discard comments after #if directives.

1.36 annotated / raw | Diffs: previous, other | Lines: 889 ( +19, -9 )

Created: 2008-04-12 19:14:27 +0200 (6 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20080412171427

Fix -C so that comments also follows defined macros.  Now lint can have
pcc as preprocessor.

1.35 annotated / raw | Diffs: previous, other | Lines: 879 ( +7, -7 )

Created: 2008-04-09 21:31:52 +0200 (6 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20080409193152

Do not output comments inside #if 0 areas if -C is given.
Makes rpcgen work.

1.34 annotated / raw | Diffs: previous, other | Lines: 879 ( +3, -2 )

Created: 2008-03-18 05:18:05 +0100 (6 years 9 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080318041805

Fix the dangling-else to avoid compiler warnings.

1.33 annotated / raw | Diffs: previous, other | Lines: 878 ( +15, -8 )

Created: 2008-02-26 15:34:09 +0100 (6 years 9 months ago) | Author: reed | Changeset: MAIN:reed:20080226143409

Warn but don't exit with junk after #endif or #else.
Discussed on list starting Feb. 13. Includes feedback from ragge.

(Note that Jan's idea needed more work, so I was asked to commit this
for now.)

1.32 annotated / raw | Diffs: previous, other | Lines: 871 ( +9, -2 )

Created: 2008-01-15 17:40:15 +0100 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20080115164015

Do not allow use of preprocessing directives inside expanding
function-like macros.

1.31 annotated / raw | Diffs: previous, other | Lines: 864 ( +13, -3 )

Created: 2008-01-08 21:05:56 +0100 (6 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20080108200556

Teach cpp about comments in ifdefs.

1.30 annotated / raw | Diffs: previous, other | Lines: 854 ( +19, -7 )

Created: 2007-11-19 06:31:15 +0100 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20071119053115

Bugfixes from Jan Kryl:
Disallow junk after #ifdef/#else/...
Check for missing/duplicate parameter names.
Check for illegal use of ## in macros.
Disallow wide strings in #line directive.
Do not recurse to death in inclusion, use a fixed limit.

1.29 annotated / raw | Diffs: previous, other | Lines: 842 ( +2, -2 )

Created: 2007-11-15 15:35:56 +0100 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20071115143556

Only decode numbers if state == IFR.

1.28 annotated / raw | Diffs: previous, other | Lines: 842 ( +3, -1 )

Created: 2007-11-15 12:26:54 +0100 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20071115112654

Hex and octal numbers should be converted to unsigned if they do not fit
as signed even if they have trailing LL.

1.27 annotated / raw | Diffs: previous, other | Lines: 840 ( +10, -1 )

Created: 2007-11-10 23:09:53 +0100 (7 years 1 month ago) | Author: stefan | Changeset: MAIN:stefan:20071110220953

++ and -- are not allowed in preprocessor expressions. Based on a
diff by Jan Kryl.
ok ragge@, otto@

1.26 annotated / raw | Diffs: previous, other | Lines: 831 ( +14, -6 )

Created: 2007-10-25 19:42:47 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20071025174247

Fix preprocessor number overflow check, by Jan Kryl.

1.25 annotated / raw | Diffs: previous, other | Lines: 823 ( +15, -43 )

Created: 2007-10-18 22:41:41 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20071018204141

More fixes to cpp arithmetic, sanitychecked by otto and stefan.

1.24 annotated / raw | Diffs: previous, other | Lines: 851 ( +41, -8 )

Created: 2007-10-12 09:23:55 +0200 (7 years 2 months ago) | Author: otto | Changeset: MAIN:otto:20071012072355

rewrite of constant expression evaluation; taking into account
signed vs unsigned and shortcutting of && and ||
ok ragge@

1.23 annotated / raw | Diffs: previous, other | Lines: 818 ( +6, -3 )

Created: 2007-10-07 09:50:39 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20071007075039

Don't let pragmas pass through if #ifdef'd away, from Stefan Kempf.

1.22 annotated / raw | Diffs: previous, other | Lines: 815 ( +2, -1 )

Created: 2007-10-04 18:44:31 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20071004164431

Move compat functions to their own header.  From Laurent Desnogues.

1.21 annotated / raw | Diffs: previous, other | Lines: 814 ( +2, -2 )

Created: 2007-09-28 17:17:46 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20070928151746

Add missing BEGIN, from Otto Moerbeek.

1.20 annotated / raw | Diffs: previous, other | Lines: 814 ( +9, -3 )

Created: 2007-09-25 22:41:07 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20070925204107

Handle #pragma and _Pragma() correct.

1.19 annotated / raw | Diffs: previous, other | Lines: 808 ( +6, -4 )

Created: 2007-09-20 22:27:57 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20070920202757

strl* changes, from Gilles Chehade.

1.18 annotated / raw | Diffs: previous, other | Lines: 806 ( +4, -1 )

Created: 2007-09-19 19:20:28 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20070919172026

Quiet cc about missing prototypes. From Olof Johansson.

1.17 annotated / raw | Diffs: previous, other | Lines: 803 ( +7, -12 )

Created: 2007-09-17 20:16:14 +0200 (7 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20070917181612

Add -dM for preprocessor, by Todd T. Fries.

1.16 annotated / raw | Diffs: previous, other | Lines: 808 ( +3, -3 )

Created: 2007-09-16 20:25:38 +0200 (7 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20070916182538

Allow for non-whitespace between #if and (0)
Handle typedefs better when the same name appears in structure members.
Error reports from Otto Moerbeek.

1.15 annotated / raw | Diffs: previous, other | Lines: 808 ( +2, -1 )

Created: 2007-09-09 19:42:33 +0200 (7 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20070909174233

Make alignment run-time detected.
Fix compile warnings.
Wrap to 0.9.8.

1.14 annotated / raw | Diffs: previous, other | Lines: 807 ( +54, -1 )

Created: 2007-09-09 11:58:54 +0200 (7 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20070909095854

Bugfix number calculations.
Fake command-line defines and includes by prewriting in into file buffer.

1.13 annotated / raw | Diffs: previous, other | Lines: 754 ( +42, -20 )

Created: 2007-08-19 21:22:15 +0200 (7 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20070819192215

Fix bug with empty # on a line.
Increase default buffers to 64k.

1.12 annotated / raw | Diffs: previous, other | Lines: 732 ( +15, -8 )

Created: 2007-08-08 22:29:14 +0200 (7 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20070808202914

Add -M flag for writing dependencies.
Change identifiers to may have beginning digit, but never try to match
such identifier.  Fixes a problem with replacing concatenated identifiers.

1.11 annotated / raw | Diffs: previous, other | Lines: 725 ( +3, -2 )

Created: 2007-08-01 06:52:50 +0200 (7 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20070801045250

Fix bug causing #line directives to get stuck in an endless loop.

1.10 annotated / raw | Diffs: previous, other | Lines: 724 ( +4, -2 )

Created: 2007-02-10 16:52:19 +0100 (7 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20070210155219

Ignore CR on input.

1.9 annotated / raw | Diffs: previous, other | Lines: 722 ( +9, -3 )

Created: 2007-01-15 06:19:12 +0100 (7 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20070115051912

Ignore unknown preprocessor directives.

1.8 annotated / raw | Diffs: previous, other | Lines: 716 ( +7, -2 )

Created: 2007-01-02 20:48:17 +0100 (7 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20070102194817

Be able to handle multiline comments starting at an #if line.

1.7 annotated / raw | Diffs: previous, other | Lines: 711 ( +86, -31 )

Created: 2006-10-08 15:41:39 +0200 (8 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20061008134139

Rewrite handling of defined(...).

1.6 annotated / raw | Diffs: previous, other | Lines: 656 ( +20, -20 )

Created: 2006-10-08 09:18:11 +0200 (8 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20061008071811

Cleanup usch usage.
Fix pushbacked token bug in if/elif statements.

1.5 annotated / raw | Diffs: previous, other | Lines: 656 ( +3, -1 )

Created: 2006-10-07 18:38:16 +0200 (8 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20061007163816

Fix hex conversion bug.

1.4 annotated / raw | Diffs: previous, other | Lines: 654 ( +5, -3 )

Created: 2006-10-07 17:47:35 +0200 (8 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20061007154735

Fix num2str, it generated backwards strings. Store strings on heap.
Discard pragmas for now.

1.3 annotated / raw | Diffs: previous, other | Lines: 652 ( +2, -1 )

Created: 2006-10-07 15:38:34 +0200 (8 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20061007133832

Fix flex identification.
add #undef fileno for scanner.l.

1.2 annotated / raw | Diffs: previous, other | Lines: 651 ( +155, -394 )

Created: 2006-10-07 11:17:26 +0200 (8 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20061007091725

Rewriting finished. The scanner do not even need stdio now.

1.1 new annotated / raw | Lines: 890 ( +890, -0 )

Created: 2006-09-28 13:10:07 +0200 (8 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20060928111007

Large rewrite of the preprocessor.  Now uses lex for tokenizing, and
handles many actions in lex via states.

FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-18 20:34 +0100