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.197 1.124 1.1 r-1-0-0 1.124.2.2 1.124.2.1

latest revision download Branch MAIN

1.197 annotated / raw | Diffs: previous, other | Lines: 2232 ( +19, -76 )

Created: 2014-10-19 19:40:36 +0200 (10 days ago) | Author: ragge | Changeset: MAIN:ragge:20141019174036

Use stdio instead of a homegrown bunch of routines for output.

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

Created: 2014-10-18 17:02:03 +0200 (11 days ago) | Author: ragge | Changeset: MAIN:ragge:20141018150203

First step in cpp cleanup: Write a small recursive parser for the #if
statements instead of pulling in yacc; which is overkill here.

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

Created: 2014-08-18 20:46:05 +0200 (2 months 11 days ago) | Author: ragge | Changeset: MAIN:ragge:20140818184605

Understand -MMD. Fixes Jira#PCC-473 by rl.

Branch point for: r-1-1-0

Tags: r-1-1-0$BP

1.194 annotated / raw | Diffs: previous, other | Lines: 2288 ( +54, -28 )

Created: 2014-06-04 08:43:49 +0200 (4 months 26 days ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20140604064349

OS X improvements for structure arguments, linking against frameworks and handling SDK versions.

1.193 annotated / raw | Diffs: previous, other | Lines: 2262 ( +81, -67 )

Created: 2014-05-30 21:27:01 +0200 (4 months 30 days ago) | Author: plunky | Changeset: MAIN:plunky:20140530192701

Rework the parsing of #include and #include_next directives. All
characters except the closing " or > are valid in a header-name.

this should fix an issue reported by Antoine Leca, on pcc-list

1.192 annotated / raw | Diffs: previous, other | Lines: 2248 ( +6, -22 )

Created: 2014-05-28 22:20:54 +0200 (5 months 1 day ago) | Author: plunky | Changeset: MAIN:plunky:20140528202054

rework the universal-character-name support
- only handle ucn in identifiers, string literals and char constants
- do not require unicode.c
- do not require ctype.h
- retire u8error() function

1.191 annotated / raw | Diffs: previous, other | Lines: 2264 ( +23, -23 )

Created: 2014-05-28 10:52:42 +0200 (5 months 2 days ago) | Author: plunky | Changeset: MAIN:plunky:20140528085242

remove extra whitespace

1.190 annotated / raw | Diffs: previous, other | Lines: 2264 ( +22, -6 )

Created: 2014-05-16 15:02:02 +0200 (5 months 13 days ago) | Author: ragge | Changeset: MAIN:ragge:20140516130202

Support for unicode indentifiers in pcc, C99 6.4.2.1.
Written by Eric Olson.

1.189 annotated / raw | Diffs: previous, other | Lines: 2248 ( +61, -1 )

Created: 2014-05-02 12:44:34 +0200 (5 months 28 days ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20140502104433

Fix symbol mangling on macos.  Add support for macos frameworks.  Now simple Carbon-based apps work.

1.188 annotated / raw | Diffs: previous, other | Lines: 2188 ( +7, -3 )

Created: 2013-02-26 20:27:38 +0100 (20 months ago) | Author: plunky | Changeset: MAIN:plunky:20130226192738

add a switch to cpp to allow it to ignore non-directive lines
starting with a #, instead of raising an error

modify front end to use this switch when passing assembler-with-cpp
input files

fixes a problem noted by Antoine Leca on pcc-list

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

Created: 2012-11-08 12:14:03 +0100 (23 months ago) | Author: plunky | Changeset: MAIN:plunky:20121108111403

add an "-E" option, to cause exit failure for warnings

1.186 annotated / raw | Diffs: previous, other | Lines: 2174 ( +3, -3 )

Created: 2012-11-08 12:08:38 +0100 (23 months ago) | Author: plunky | Changeset: MAIN:plunky:20121108110838

lastoch is usch

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

Created: 2012-11-07 10:51:59 +0100 (23 months ago) | Author: plunky | Changeset: MAIN:plunky:20121107095159

combination of changes
- reorder the input functions and split some functionality
- use inline for minimal inch() and inpch()
- only use inpch() from within inch()/chktg()/chkeol()
- use inch() directly instead of NXTCH() macro or inpch()
- '?' and '\\' no longer need to be C_SPEC
- escaped newlines absorbed by inch()
- only fastscan() emits normal newline (except during comments)
- fastscan() emits escaped newlines at end of line
- no need to emit line markers after conditional markers
- simplify conditional statement processing
- error() consistency

resulting in
+ trigraphs and escaped newline always processed
+ output line count same as input
+ 10-15% speedup of raw processing!

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

Created: 2012-10-31 12:54:54 +0100 (23 months ago) | Author: plunky | Changeset: MAIN:plunky:20121031115454

modify spechr[] to also know about digits, hex digits etc, and
use it directly instead of <ctype.h>

1.183 annotated / raw | Diffs: previous, other | Lines: 2174 ( +12, -9 )

Created: 2012-10-29 18:12:46 +0100 (23 months ago) | Author: plunky | Changeset: MAIN:plunky:20121029171246

for include(), correct filename processing
- handle wide-string filenames
  (this is not part of spec, but sloscan() will return them, so..)
- handle EOF and NL inside <..>

1.182 annotated / raw | Diffs: previous, other | Lines: 2171 ( +6, -6 )

Created: 2012-10-29 18:07:21 +0100 (23 months ago) | Author: plunky | Changeset: MAIN:plunky:20121029170721

use "#directive" in error messages, for clarity

1.181 annotated / raw | Diffs: previous, other | Lines: 2171 ( +7, -4 )

Created: 2012-10-29 18:05:35 +0100 (23 months ago) | Author: plunky | Changeset: MAIN:plunky:20121029170535

prtline() after a successful #line directive, so that downstream
knows which lineno/filename to use.

1.180 annotated / raw | Diffs: previous, other | Lines: 2168 ( +2, -2 )

Created: 2012-10-19 14:09:00 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121019120900

when opening a named output file,
- use O_TRUNC to make sure nothing remains
- provide default mode of 0666

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

Created: 2012-10-17 13:04:19 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121017110419

simplify xstrdup(), just wrap strdup() directly

1.178 annotated / raw | Diffs: previous, other | Lines: 2170 ( +44, -25 )

Created: 2012-10-17 12:41:20 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121017104120

if we don't have C99 __VA_ARGS__ macro, then error() will not
actually work (apart from bringing in stdio stuff), so just use
stdarg for error() and warning(), calling vsheap() internally

1.177 annotated / raw | Diffs: previous, other | Lines: 2151 ( +2, -2 )

Created: 2012-10-17 12:38:00 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121017103800

don't put a line break in a warning message

1.176 annotated / raw | Diffs: previous, other | Lines: 2151 ( +3, -3 )

Created: 2012-10-17 12:33:13 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121017103313

fix comment (sheap does %c)
also, sheap can call error(), as long as it doesn't try to use an
unknown format type

1.175 annotated / raw | Diffs: previous, other | Lines: 2151 ( +5, -6 )

Created: 2012-10-17 12:25:49 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121017102549

use the common idiom

1.174 annotated / raw | Diffs: previous, other | Lines: 2152 ( +20, -13 )

Created: 2012-10-17 12:14:44 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121017101444

add xwrite() which actually ensures a write succeeds, rather
than using a dummy variable to defeat return value checking

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

Created: 2012-10-17 11:52:52 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121017095252

don't rely on the linker merging common definitions

1.172 annotated / raw | Diffs: previous, other | Lines: 2144 ( +4, -4 )

Created: 2012-10-11 12:28:35 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121011102835

be clear, when we refer to _Pragma()

1.171 annotated / raw | Diffs: previous, other | Lines: 2144 ( +2, -2 )

Created: 2012-10-11 12:03:06 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121011100306

don't write out nul terminator

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

Created: 2012-10-02 18:19:48 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121002161948

apparently (void) cast is not enough to quell the warning,
assign to a dummy var

1.169 annotated / raw | Diffs: previous, other | Lines: 2143 ( +2, -2 )

Created: 2012-10-02 17:58:53 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121002155853

(void) write() to disregard return value

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

Created: 2012-10-02 17:50:06 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121002155006

use write() instead of fprintf() for version string

1.167 annotated / raw | Diffs: previous, other | Lines: 2141 ( +2, -2 )

Created: 2012-10-02 11:40:10 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121002094010

output version to stderr, in case we are using stdin/out for code

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

Created: 2012-10-02 11:38:59 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121002093859

define norep etc in cpp.c, since it is only used therein

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

Created: 2012-10-02 11:31:31 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121002093131

we don't actually need <sys/wait.h>

1.164 annotated / raw | Diffs: previous, other | Lines: 2135 ( +1, -15 )

Created: 2012-10-02 11:30:29 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121002093029

remove unused function

1.163 annotated / raw | Diffs: previous, other | Lines: 2149 ( +2, -2 )

Created: 2012-10-02 11:27:46 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121002092746

S_ISDIR() provides a boolean result

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

Created: 2012-10-02 11:26:21 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121002092621

yytext[0] cannot be a digit since it is IDENT; <ctype.h> is not required

1.161 annotated / raw | Diffs: previous, other | Lines: 2153 ( +4, -4 )

Created: 2012-10-02 11:16:37 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121002091637

yytext is usch array, no need to cast

1.160 annotated / raw | Diffs: previous, other | Lines: 2153 ( +16, -16 )

Created: 2012-10-02 11:13:13 +0200 (2 years ago) | Author: plunky | Changeset: MAIN:plunky:20121002091313

no need to cast (usch *)yytext since it is an usch array already

1.159 annotated / raw | Diffs: previous, other | Lines: 2153 ( +2, -2 )

Created: 2012-09-28 15:14:27 +0200 (2 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20120928131427

cast, in case time_t or suseconds_t are not 'long int'

1.158 annotated / raw | Diffs: previous, other | Lines: 2153 ( +8, -6 )

Created: 2012-09-28 14:53:39 +0200 (2 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20120928125339

fix potential buffer overflow

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

Created: 2012-09-26 20:27:17 +0200 (2 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20120926182717

set readmac also while parsing macro arguments, to fix PCC-359

1.156 annotated / raw | Diffs: previous, other | Lines: 2147 ( +2, -2 )

Created: 2012-08-31 21:33:09 +0200 (2 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20120831193309

tidy up a bit; use explicit rules
while here, make cpy.y -> cpy.c -> cpy.o and use "cpy.h"

1.155 annotated / raw | Diffs: previous, other | Lines: 2147 ( +2, -2 )

Created: 2012-08-24 17:18:47 +0200 (2 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20120824151847

Even char constants can have L prepended.

1.154 annotated / raw | Diffs: previous, other | Lines: 2147 ( +17, -5 )

Created: 2012-08-09 20:21:29 +0200 (2 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20120809182129

Do not add blocks if it is a wide string read.

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

Created: 2012-08-06 21:32:39 +0200 (2 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20120806193239

One place where nl handling were missed.  Fixes Jira#PCC-380 by Iain Hibbert.

1.152 annotated / raw | Diffs: previous, other | Lines: 2134 ( +2, -2 )

Created: 2012-07-30 14:47:59 +0200 (2 years 3 months ago) | Author: plunky | Changeset: MAIN:plunky:20120730124759

don't discard 'const' qualifier

1.151 annotated / raw | Diffs: previous, other | Lines: 2134 ( +31, -5 )

Created: 2012-07-30 11:51:52 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120730095152

Add support for the -MP, -MT and -MQ.  Fixes part of Jira#PCC-334.

1.150 annotated / raw | Diffs: previous, other | Lines: 2108 ( +18, -1 )

Created: 2012-07-29 19:26:26 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120729172626

Avoid expansion blocking to be clobbered when recursing.
Fixes Jira#PCC-389 by Roland Mainz.

1.149 annotated / raw | Diffs: previous, other | Lines: 2091 ( +13, -7 )

Created: 2012-07-29 11:59:05 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120729095905

Must retain expansion blocking even when concatenating macros.
Fixes Jira#PCC-364 by Iain Hibbert.

1.148 annotated / raw | Diffs: previous, other | Lines: 2085 ( +6, -1 )

Created: 2012-07-28 22:20:03 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120728202003

Do not create comments accidentally that may break macro expansion later.
Fixes Jira#PCC-394 by Hannes Loeffler.

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

Created: 2012-07-27 18:07:03 +0200 (2 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20120727160703

Remove an earlier workaround for a lost line number; fixed correct now.

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

Created: 2012-04-22 14:44:11 +0200 (2 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20120422124411

Print 3 after line directive to tell this is a system header.

Tags: newstyle_cpp

1.145 annotated / raw | Diffs: previous, other | Lines: 2086 ( +3, -3 )

Created: 2011-09-27 10:22:55 +0200 (3 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20110927082255

use os_win32 rather than WIN32 for conditional compilation,
so that cross compiling can [be made to] work

1.144 annotated / raw | Diffs: previous, other | Lines: 2086 ( +12, -5 )

Created: 2011-08-31 10:31:31 +0200 (3 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20110831083131

handle -d <flags> in the same way as gcc, where
flags can be a sequence of characters

1.143 annotated / raw | Diffs: previous, other | Lines: 2079 ( +13, -17 )

Created: 2011-08-30 22:12:21 +0200 (3 years 1 month ago) | Author: plunky | Changeset: MAIN:plunky:20110830201221

clean some function prototyping

1.142 annotated / raw | Diffs: previous, other | Lines: 2083 ( +21, -19 )

Created: 2011-08-28 15:19:34 +0200 (3 years 2 months ago) | Author: plunky | Changeset: MAIN:plunky:20110828131934

sort options

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

Created: 2011-07-27 17:10:57 +0200 (3 years 3 months ago) | Author: plunky | Changeset: MAIN:plunky:20110727151057

readmac ++/-- while processing macro arguments, so that
comments can be kept when Cflag is given, fixes PCC-359
by me.

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

Created: 2011-07-18 13:54:33 +0200 (3 years 3 months ago) | Author: plunky | Changeset: MAIN:plunky:20110718115433

handle also the case where a directive appears in the
varargs section of an expanding macro

1.139 annotated / raw | Diffs: previous, other | Lines: 2077 ( +45, -2 )

Created: 2011-07-16 18:14:56 +0200 (3 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110716161456

Deal with the ugly situation where there are macro directives inside
an expanding macro.  This is not allowed but gcc accepts it, so...

1.138 annotated / raw | Diffs: previous, other | Lines: 2034 ( +3, -3 )

Created: 2011-07-15 12:52:59 +0200 (3 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110715105259

In traditional mode only ignore strings while defining macros.

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

Created: 2011-07-10 19:26:50 +0200 (3 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20110710172650

Print out line number after #define has been encountered to solve problem
with line number counting when \\n has been found.
Fix by TAKAHASHI Tamotsu in Jira#PCC-370.

1.136 annotated / raw | Diffs: previous, other | Lines: 2030 ( +3, -3 )

Created: 2011-07-06 19:15:23 +0200 (3 years 3 months ago) | Author: plunky | Changeset: MAIN:plunky:20110706171523

lose not loose :-)

1.135 annotated / raw | Diffs: previous, other | Lines: 2030 ( +20, -9 )

Created: 2011-06-05 10:43:50 +0200 (3 years 4 months ago) | Author: plunky | Changeset: MAIN:plunky:20110605084350

fix up building without PCC_DEBUG

1.134 annotated / raw | Diffs: previous, other | Lines: 2019 ( +4, -4 )

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

rename CPP_DEBUG as PCC_DEBUG

1.133 annotated / raw | Diffs: previous, other | Lines: 2019 ( +4, -5 )

Created: 2011-05-30 05:40:55 +0200 (3 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20110530034055

Remove set-but-unused variables.

1.132 annotated / raw | Diffs: previous, other | Lines: 2020 ( +16, -1 )

Created: 2011-05-22 19:17:32 +0200 (3 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20110522171732

Do not give bad complaints or crash in the preprocessor.
Fixes bug reported on pcc-list by Szabolcz Nagy.

1.131 annotated / raw | Diffs: previous, other | Lines: 2005 ( +11, -1 )

Created: 2011-05-17 03:49:12 +0200 (3 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20110517014912

Fix for win32, since inodes are not used.

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

Created: 2011-05-17 01:56:51 +0200 (3 years 5 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20110516235651

Fix build on win32.

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

Created: 2011-04-26 17:32:03 +0200 (3 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20110426153203

Do not emit cpp internal state info in pragmas.
Fixes Jira#PCC-335 by Iain Hibbert.

1.128 annotated / raw | Diffs: previous, other | Lines: 1987 ( +15, -12 )

Created: 2011-03-27 15:12:36 +0200 (3 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20110327131236

Teach cpp to understand ## __VA_ARGS__ and not only ## args.  Patch from
iain Hibbert.  While here, change GCC_VARI to GCC_COMPAT.

1.127 annotated / raw | Diffs: previous, other | Lines: 1984 ( +16, -2 )

Created: 2011-03-19 11:34:14 +0100 (3 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20110319103414

Do not bail out for certain characters inside comments; like '.  Also pass
comments inside macros out if -CC is given.  Fixes Jira#PCC-274 by Iain Hibbert.

1.126 annotated / raw | Diffs: previous, other | Lines: 1970 ( +2, -2 )

Created: 2011-03-12 08:18:39 +0100 (3 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20110312071839

Wrap sbsize to 1000000.  This should solve a bunch of problems.  There are
memory leaks during macro expansion but it won't be fixed before 1.0.

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

Created: 2011-03-01 19:24:07 +0100 (3 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20110301182407

Take care of sloscan() returning '\n' in the -CC case.
Fixes addendum to Jira#PCC-255 by Iain Hibbert.

1.124 annotated / raw | Diffs: previous, other | Lines: 1968 ( +38, -15 )

Created: 2011-02-21 09:00:42 +0100 (3 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20110221080042

Change macro expanded logic to use a short instead of a char for storing
max number of expanded macros inside one macro.  Fixes problem compiling
snmpd on OpenBSD which has a gigantic macro with the MIBs.

Branch point for: r-1-0-0

Tags: r-1-0-0$BP

1.123 annotated / raw | Diffs: previous, other | Lines: 1945 ( +2, -2 )

Created: 2011-02-01 16:50:55 +0100 (3 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20110201155055

A balanced increment appeared on the wrong side of a label causing
directives to bail out if -C was used.  More corrections to Jira#PCC-211.

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

Created: 2011-01-29 14:51:04 +0100 (3 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20110129135104

Allow \n to occur inside variadic argument list.

1.121 annotated / raw | Diffs: previous, other | Lines: 1943 ( +2, -2 )

Created: 2011-01-27 19:03:16 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110127180316

"cast discards qualifier" patch from Iain Hibbert.

1.120 annotated / raw | Diffs: previous, other | Lines: 1943 ( +20, -22 )

Created: 2011-01-27 14:57:07 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110127135707

Fix const errors.  From Iain Hibbert.

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

Created: 2011-01-27 13:36:59 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110127123659

Just warn about redefining of macros instead of error out.

1.118 annotated / raw | Diffs: previous, other | Lines: 1942 ( +2, -2 )

Created: 2011-01-24 15:52:59 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110124145259

Obey to the ugly gcc way of letting system header defines silently
overwrite user defines.

1.117 annotated / raw | Diffs: previous, other | Lines: 1942 ( +12, -3 )

Created: 2011-01-16 15:09:12 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110116140912

Write out a space if there by accident may appear new tokens where there
should not be detected any tokens.  Reported by Fred J. Tydeman.

1.116 annotated / raw | Diffs: previous, other | Lines: 1933 ( +197, -254 )

Created: 2011-01-16 12:55:54 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110116115554

More changes:  add symbols blocking against expansions to each identifier
instead of keeping blocking ranges. Solves a problem where new argument
lists are created inside macros.

1.115 annotated / raw | Diffs: previous, other | Lines: 1990 ( +2, -2 )

Created: 2011-01-11 12:01:01 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110111110101

Fix a "arguments differ in signedness" bug, reported by Iain Hibbert.

1.114 annotated / raw | Diffs: previous, other | Lines: 1990 ( +43, -79 )

Created: 2011-01-11 10:59:48 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110111095948

Fix _Pragma() parsing, missed after late rewriting.
Bug reported by different people on pcc-list.

1.113 annotated / raw | Diffs: previous, other | Lines: 2026 ( +3, -3 )

Created: 2011-01-10 10:45:46 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110110094546

Constify an argument to avoid warnings as reported by Iain Hibbert.

1.112 annotated / raw | Diffs: previous, other | Lines: 2026 ( +629, -450 )

Created: 2011-01-09 16:25:39 +0100 (3 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20110109152539

Rewrite macro expansion logic so that it iterates over macros for more
to expand instead of recurse.  This fixes a bunch of problems with the
preprocessor.  Also fixes Jira#PCC-130 and Jira#PCC-118.

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

Created: 2010-12-29 12:49:09 +0100 (3 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20101229114909

Remove \n if it is included in arguments.

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

Created: 2010-12-18 17:07:03 +0100 (3 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20101218160703

Do not emit EXPAND/NOEXP inside strings.  Fixes Jira#PCC-202 by Nicolas Joly.

1.109 annotated / raw | Diffs: previous, other | Lines: 1845 ( +12, -49 )

Created: 2010-12-18 12:38:47 +0100 (3 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20101218113847

Avoid a recursive expansion problem which sometimes caused macros that
were supposed to be expanded not to be.  Supposes to fix PCC-179.
XXX - the macro expansion logic should be rewritten.

1.108 annotated / raw | Diffs: previous, other | Lines: 1882 ( +31, -13 )

Created: 2010-11-25 22:12:49 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20101125211249

Do not search directories more than once.  Patch provided by Nicolas Joly,
slightly modified to break out the add routines to its own function.

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

Created: 2010-11-07 11:53:19 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20101107105319

Ignor include_next directives if inside false statements.
Fixes Jira#PCC-176 by Nicolas Joly.

1.106 annotated / raw | Diffs: previous, other | Lines: 1862 ( +2, -2 )

Created: 2010-11-05 16:54:01 +0100 (3 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20101105155401

Do not expand macros that are currently expanding.
XXX - might have side effects.

1.105 annotated / raw | Diffs: previous, other | Lines: 1862 ( +45, -4 )

Created: 2010-06-08 18:38:31 +0200 (4 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20100608163831

Fix include_next with patch from Alexander Vladimirov and small bugfix
from me.  Fixes Jira#PCC-109.

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

Created: 2010-04-20 21:43:52 +0200 (4 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20100420194352

One more comment-handling bug found by Iain Hibbert.

1.103 annotated / raw | Diffs: previous, other | Lines: 1820 ( +45, -43 )

Created: 2010-02-25 16:49:00 +0100 (4 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20100225154900

Fix const usage.  From Iain Hibbert.

1.102 annotated / raw | Diffs: previous, other | Lines: 1818 ( +46, -16 )

Created: 2009-12-31 12:46:13 +0100 (4 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20091231114613

Understand gcc directive #include_next. Solves Jira#PCC-106 by Altamiranus.

1.101 annotated / raw | Diffs: previous, other | Lines: 1788 ( +13, -2 )

Created: 2009-08-15 10:24:22 +0200 (5 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20090815082422

Must expand identifier in #include directive.  sloscan() don't do it and
yylex() will return a NUMBER.  Fixes Jira#PCC-76 by Detlef Riekenberg.

1.100 annotated / raw | Diffs: previous, other | Lines: 1777 ( +7, -6 )

Created: 2009-08-13 10:01:27 +0200 (5 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20090813080125

Add -Wtruncate option which detects truncation of types during assignment.
Let pcc compile with this option enabled.

Inspired by similar warning in the Microsoft compiler.

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

Created: 2009-08-11 17:39:28 +0200 (5 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20090811153928

Substitute \n for ' ' in argument lists, otherwise there will be unwanted
concatenated arguments. Fixes bug reported by Hasso Tepper.

1.98 annotated / raw | Diffs: previous, other | Lines: 1775 ( +19, -2 )

Created: 2009-08-08 09:25:53 +0200 (5 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20090808072553

Must accept identifiers beginning with a digit in macro expansion, so that
macro replacement of concatenated strings work.  Actually this fix also
solved a long-standing problem.  Fixes Jira#PCC-69 by Jonathan Gray.

1.97 annotated / raw | Diffs: previous, other | Lines: 1758 ( +138, -121 )

Created: 2009-08-01 17:53:06 +0200 (5 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20090801155306

Significant update of cpp, now runs in only around 10% time compared to before.

1.96 annotated / raw | Diffs: previous, other | Lines: 1741 ( +8, -6 )

Created: 2009-01-31 21:37:14 +0100 (5 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20090131203714

Assign return values from write() to a variable even if the value is
uninteresting.  Fixes problem when write() has attribute warn_unused_result
(like on ubuntu). Reported by Darren Jenkins.

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

Created: 2008-12-07 21:12:05 +0100 (5 years 10 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20081207201205

Compile with gcc -c99.  From Thorsten Glaser.

1.94 annotated / raw | Diffs: previous, other | Lines: 1741 ( +18, -1 )

Created: 2008-11-24 08:13:09 +0100 (5 years 11 months ago) | Author: ragge | Changeset: MAIN:ragge:20081124071309

Add compile-time option to print out time used in execution.
Only used during testing and debugging.

1.93 annotated / raw | Diffs: previous, other | Lines: 1724 ( +23, -27 )

Created: 2008-08-18 22:50:43 +0200 (6 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20080818205043

Fix bug causing an identifier with the same name as a function-like macro
to be moved to the beginning of next line if it is last on the previous.

1.92 annotated / raw | Diffs: previous, other | Lines: 1728 ( +42, -13 )

Created: 2008-08-16 17:27:27 +0200 (6 years 2 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.91 annotated / raw | Diffs: previous, other | Lines: 1699 ( +29, -2 )

Created: 2008-08-15 17:29:27 +0200 (6 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20080815152927

Understand the ##arg syntax for gnu cpp.

1.90 annotated / raw | Diffs: previous, other | Lines: 1672 ( +23, -17 )

Created: 2008-08-10 16:49:30 +0200 (6 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20080810144930

Remove use of alloca() altogether in favour for malloc()/free().

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

Created: 2008-08-09 01:18:18 +0200 (6 years 2 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080808231818

Also try to find alloca() declaration in malloc.h.

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

Created: 2008-07-29 11:10:14 +0200 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080729091014

Fix bug where double macro expansion could cause an internal error.
Reported by gmcgarry.

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

Created: 2008-07-06 19:14:28 +0200 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080706171428

Cast variable to correct sign to avoid compilation error.
Reported by Craig St. Jean.

1.86 annotated / raw | Diffs: previous, other | Lines: 1660 ( +29, -1 )

Created: 2008-07-05 17:10:47 +0200 (6 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20080705151047

Add support for gcc named variadics.  May be #ifdef'ed away.

1.85 annotated / raw | Diffs: previous, other | Lines: 1632 ( +7, -3 )

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

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

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

Created: 2008-06-23 10:31:23 +0200 (6 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20080623083123

Detect eof if reading in a macro instead of looping.

1.83 annotated / raw | Diffs: previous, other | Lines: 1626 ( +2, -2 )

Created: 2008-06-09 12:43:02 +0200 (6 years 4 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080609104302

spelo from Alan R. S. Bueno.

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

Created: 2008-04-20 03:47:49 +0200 (6 years 6 months ago) | Author: gmcgarry | Changeset: MAIN:gmcgarry:20080420014749

Only pull in unistd.h once.

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

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

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

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

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

Always discard comments after #if directives.

1.79 annotated / raw | Diffs: previous, other | Lines: 1624 ( +75, -7 )

Created: 2008-04-12 19:14:27 +0200 (6 years 6 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.78 annotated / raw | Diffs: previous, other | Lines: 1556 ( +25, -3 )

Created: 2008-04-06 11:07:33 +0200 (6 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20080406090733

If the parameters collected by __VA_ARGS__ in an embedded macro will match
several normal parameters, then the NOEXP/EXPAND protection must be
on each identifier otherwise the internal diagnostic will report a
unbalance error.  Found when compiling gcc.

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

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

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

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

Created: 2008-01-10 23:14:01 +0100 (6 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20080110221401

Fix bug causing macros without arguments to fail if whitespace between
()'s.

1.75 annotated / raw | Diffs: previous, other | Lines: 1530 ( +25, -13 )

Created: 2008-01-07 22:32:36 +0100 (6 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20080107213236

Fix eventual eternal loop in _Pragma() -> #pragma conversion.

1.74 annotated / raw | Diffs: previous, other | Lines: 1518 ( +3, -3 )

Created: 2008-01-06 18:18:55 +0100 (6 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20080106171855

Fix compile hierarchy so that it do not use hard-coded paths, use
include paths instead.  From Zhiwen Zheng.

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

Created: 2007-12-30 21:12:44 +0100 (6 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20071230201244

Now we support all stuff needed to define __STDC_VERSION__=199901L.

1.72 annotated / raw | Diffs: previous, other | Lines: 1514 ( +19, -5 )

Created: 2007-11-19 06:31:15 +0100 (6 years 11 months 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.71 annotated / raw | Diffs: previous, other | Lines: 1500 ( +2, -2 )

Created: 2007-10-27 12:39:37 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20071027103937

len -> size_t.

1.70 annotated / raw | Diffs: previous, other | Lines: 1500 ( +2, -2 )

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

Fix preprocessor number overflow check, by Jan Kryl.

1.69 annotated / raw | Diffs: previous, other | Lines: 1500 ( +4, -4 )

Created: 2007-10-22 14:23:21 +0200 (7 years ago) | Author: ragge | Changeset: MAIN:ragge:20071022122321

Some small bugfixes from Jan Kryl.

1.68 annotated / raw | Diffs: previous, other | Lines: 1500 ( +2, -2 )

Created: 2007-10-12 23:37:36 +0200 (7 years ago) | Author: stefan | Changeset: MAIN:stefan:20071012213736

Fix broken build with some compilers. Reported by Gregory McGarry.
ok otto@

1.67 annotated / raw | Diffs: previous, other | Lines: 1500 ( +18, -1 )

Created: 2007-10-12 20:05:36 +0200 (7 years ago) | Author: stefan | Changeset: MAIN:stefan:20071012180536

Add zero checks when dividing or taking modulo. ok otto@

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

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

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

1.65 annotated / raw | Diffs: previous, other | Lines: 1482 ( +52, -1 )

Created: 2007-09-25 22:41:08 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070925204107

Handle #pragma and _Pragma() correct.

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

Created: 2007-09-24 17:42:00 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070924154200

Add -v flag to all sub-binaries also.

1.63 annotated / raw | Diffs: previous, other | Lines: 1428 ( +9, -5 )

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

strl* changes, from Gilles Chehade.

1.62 annotated / raw | Diffs: previous, other | Lines: 1424 ( +7, -5 )

Created: 2007-09-20 16:12:39 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070920141239

Cpp not includeing when it is supposed to. Fix from Otto Moerbeek.

1.61 annotated / raw | Diffs: previous, other | Lines: 1422 ( +2, -2 )

Created: 2007-09-18 22:15:58 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070918201555

More manpages updates, from Jeremy C. Reed.

1.60 annotated / raw | Diffs: previous, other | Lines: 1422 ( +13, -5 )

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

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

1.59 annotated / raw | Diffs: previous, other | Lines: 1414 ( +1, -40 )

Created: 2007-09-17 19:49:25 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070917174925

Remove some code no longer used.

1.58 annotated / raw | Diffs: previous, other | Lines: 1453 ( +10, -6 )

Created: 2007-09-16 21:42:51 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070916194249

Sanity fixes, by Stefan Kempf via Otto M.
Applied (almost) unchanged.

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

Created: 2007-09-16 20:26:18 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070916182618

Oops, forgot this one.

1.56 annotated / raw | Diffs: previous, other | Lines: 1448 ( +6, -6 )

Created: 2007-09-16 11:38:07 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070916093807

Be more liberal about #include<x> lines syntax. Still must fix #if.

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

Created: 2007-09-16 10:26:37 +0200 (7 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20070916082634

Some return complained about by lint.  Legal, but we do not want to
convince lint about it.  From Ray Lai.

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

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

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

1.53 annotated / raw | Diffs: previous, other | Lines: 1446 ( +51, -18 )

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

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

1.52 annotated / raw | Diffs: previous, other | Lines: 1413 ( +10, -18 )

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

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

1.51 annotated / raw | Diffs: previous, other | Lines: 1421 ( +32, -6 )

Created: 2007-08-08 22:29:14 +0200 (7 years 2 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.50 annotated / raw | Diffs: previous, other | Lines: 1395 ( +138, -46 )

Created: 2007-08-05 10:26:45 +0200 (7 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20070805082645

Add patricia code to do faster lookups.

1.49 annotated / raw | Diffs: previous, other | Lines: 1303 ( +12, -8 )

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

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

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

Created: 2007-02-07 18:44:04 +0100 (7 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20070207174404

Flush output buffer before doing an error exit.

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

Created: 2007-01-27 09:24:21 +0100 (7 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20070127082421

Increase table sizes even more.
Handle triple-arg-situation with multiple concatenated args.
Make space for error messages when if heap is full.

1.46 annotated / raw | Diffs: previous, other | Lines: 1295 ( +2, -2 )

Created: 2007-01-14 17:33:49 +0100 (7 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20070114163349

Fix typedef bug for variables preventing struct members to having
typedefed names.
Add missed cast.

1.45 annotated / raw | Diffs: previous, other | Lines: 1295 ( +3, -3 )

Created: 2007-01-13 13:59:14 +0100 (7 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20070113125914

Take care of a bug with macro arguments that are on multiple lines.

1.44 annotated / raw | Diffs: previous, other | Lines: 1295 ( +49, -84 )

Created: 2007-01-02 20:47:37 +0100 (7 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20070102194737

Fix argument concatenating bug.  Now concat'ing 3 args work.

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

Created: 2006-12-30 09:18:05 +0100 (7 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20061230081805

Temp checkin while rewriting macro arg expansion.

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

Created: 2006-12-22 07:23:09 +0100 (7 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20061222062309

Add -k flag for pic.

1.41 annotated / raw | Diffs: previous, other | Lines: 1282 ( +25, -4 )

Created: 2006-12-17 14:27:13 +0100 (7 years 10 months ago) | Author: ragge | Changeset: MAIN:ragge:20061217132713

Fix recursion bug.
Allow - as stdin.

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

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

Rewrite handling of defined(...).

1.39 annotated / raw | Diffs: previous, other | Lines: 1262 ( +60, -63 )

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

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

1.38 annotated / raw | Diffs: previous, other | Lines: 1265 ( +7, -6 )

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

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

1.37 annotated / raw | Diffs: previous, other | Lines: 1264 ( +259, -177 )

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

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

1.36 annotated / raw | Diffs: previous, other | Lines: 1182 ( +214, -666 )

Created: 2006-09-28 13:10:07 +0200 (8 years 1 month 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.

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

Created: 2006-08-05 12:24:29 +0200 (8 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20060805102429

Check in more work on new pre-processor.

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

Created: 2006-07-30 14:53:20 +0200 (8 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20060730125320

Protect the table inside #ifdef ragge.

1.33 annotated / raw | Diffs: previous, other | Lines: 1381 ( +40, -3 )

Created: 2006-07-30 14:52:40 +0200 (8 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20060730125240

Add a bit-mask table for character checks.

1.32 annotated / raw | Diffs: previous, other | Lines: 1344 ( +141, -1 )

Created: 2006-07-30 11:33:30 +0200 (8 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20060730093330

Start work on a new improved cpp.

1.31 annotated / raw | Diffs: previous, other | Lines: 1204 ( +10, -5 )

Created: 2006-07-15 17:02:03 +0200 (8 years 3 months ago) | Author: ragge | Changeset: MAIN:ragge:20060715150203

Accept multiple whitespaces in macro declaration.

1.30 annotated / raw | Diffs: previous, other | Lines: 1199 ( +3, -3 )

Created: 2006-06-17 10:23:30 +0200 (8 years 4 months ago) | Author: ragge | Changeset: MAIN:ragge:20060617082329

Use private evaluation order for floating point trees.
Change cpp #if calculations to long long.
Remove unneccessary size checks.
Fix bug so unions can be assigned.
Fix table bug where floats were returned.

1.29 annotated / raw | Diffs: previous, other | Lines: 1199 ( +14, -10 )

Created: 2005-05-15 23:06:35 +0200 (9 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20050515210634

Fix cpp. fix BREG strengthening.  Now (almost) compiler NetBSD again.

1.28 annotated / raw | Diffs: previous, other | Lines: 1195 ( +2, -2 )

Created: 2005-05-14 15:28:27 +0200 (9 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20050514132813

Fixes due to tree move.

1.27 annotated / raw | Diffs: previous, other | Lines: 1195 ( +25, -51 )

Created: 2005-05-14 10:03:49 +0200 (9 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20050514080349

Remove NEWBUF, it's now mandatory.  Start making the preprocessor faster.

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

Created: 2005-05-11 21:32:59 +0200 (9 years 5 months ago) | Author: ragge | Changeset: MAIN:ragge:20050511193259

Make NEWBUF use recursive including.

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

Created: 2005-04-04 18:49:47 +0200 (9 years 6 months ago) | Author: ragge | Changeset: MAIN:ragge:20050404164947

Start working on newnew buffer handling.

1.24 annotated / raw | Diffs: previous, other | Lines: 1178 ( +5, -6 )

Created: 2005-03-20 17:21:12 +0100 (9 years 7 months ago) | Author: ragge | Changeset: MAIN:ragge:20050320162112

More basic buffer reorganization.

1.23 annotated / raw | Diffs: previous, other | Lines: 1179 ( +8, -1 )

Created: 2005-03-02 17:21:21 +0100 (9 years 7 months ago) | Author: pj | Changeset: MAIN:pj:20050302162121

Add support for alloca.h

1.22 annotated / raw | Diffs: previous, other | Lines: 1172 ( +21, -4 )

Created: 2005-02-18 17:52:39 +0100 (9 years 8 months ago) | Author: ragge | Changeset: MAIN:ragge:20050218165239

Bugfix comment handling.

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

Created: 2005-01-08 09:35:52 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20050108083552

Fix one replacement bug at rescanning.

1.20 annotated / raw | Diffs: previous, other | Lines: 1149 ( +28, -23 )

Created: 2005-01-02 18:54:25 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20050102175425

Fix include file order.

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

Created: 2004-12-31 12:21:25 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20041231112125

Fix unwanted truncation of first filename.

1.18 annotated / raw | Diffs: previous, other | Lines: 1141 ( +24, -11 )

Created: 2004-12-30 11:27:05 +0100 (9 years 9 months ago) | Author: ragge | Changeset: MAIN:ragge:20041230102705

Fix two bugs:
- Concatenated macros were not expanded in all situations.
- Hash value calculation were wrong (=+).
Also add test support in makefile.

1.17 annotated / raw | Diffs: previous, other | Lines: 1128 ( +19, -17 )

Created: 2004-10-02 10:00:18 +0200 (10 years ago) | Author: ragge | Changeset: MAIN:ragge:20041002080018

Fix earlier broken __FILE__ and __LINE__.

1.16 annotated / raw | Diffs: previous, other | Lines: 1126 ( +23, -13 )

Created: 2004-09-04 10:29:06 +0200 (10 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20040904082906

Accept character constants in #if lines.  Increase tables.
Fix include files order.

1.15 annotated / raw | Diffs: previous, other | Lines: 1116 ( +91, -59 )

Created: 2004-09-02 23:33:33 +0200 (10 years 1 month ago) | Author: ragge | Changeset: MAIN:ragge:20040902213333

Fix a bunch of #if bugs. Remove missed EXPAND/NOEXP inside strings.

1.14 annotated / raw | Diffs: previous, other | Lines: 1084 ( +7, -7 )

Created: 2004-08-29 14:19:34 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040829121934

Rewrite the lexical analyzer in C.

1.13 annotated / raw | Diffs: previous, other | Lines: 1084 ( +5, -5 )

Created: 2004-08-28 17:19:57 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040828151957

Add forgotten 0.

1.12 annotated / raw | Diffs: previous, other | Lines: 1084 ( +29, -36 )

Created: 2004-08-28 17:08:47 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040828150847

Cleanup predefined macro definitions, add __STDC__.

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

Created: 2004-08-28 16:36:36 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040828143636

Increase hash table size.

1.10 annotated / raw | Diffs: previous, other | Lines: 1089 ( +114, -37 )

Created: 2004-08-28 15:17:47 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040828131747

Add #if handling. Now behaves as a real preprocessor.

1.9 annotated / raw | Diffs: previous, other | Lines: 1012 ( +103, -30 )

Created: 2004-08-26 18:24:45 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040826162445

Add #line, __TIME, __DATE__ and some other stuff.

1.8 annotated / raw | Diffs: previous, other | Lines: 939 ( +37, -46 )

Created: 2004-08-23 08:54:13 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040823065413

Small change to control detection.

1.7 annotated / raw | Diffs: previous, other | Lines: 948 ( +49, -30 )

Created: 2004-08-22 16:59:25 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040822145925

Add D and U args.

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

Created: 2004-08-22 16:09:37 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040822140937

Fix char/string substitutions.

1.5 annotated / raw | Diffs: previous, other | Lines: 916 ( +9, -4 )

Created: 2004-08-22 14:19:04 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040822121904

Start fixing string escaping.

1.4 annotated / raw | Diffs: previous, other | Lines: 911 ( +47, -7 )

Created: 2004-08-22 12:32:30 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040822103230

Fix concatenated argument reparsing.

1.3 annotated / raw | Diffs: previous, other | Lines: 871 ( +36, -10 )

Created: 2004-08-21 15:51:13 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040821135113

Add more include functionality.

1.2 annotated / raw | Diffs: previous, other | Lines: 845 ( +23, -12 )

Created: 2004-08-21 14:48:05 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040821124805

Understand comments. Some bug fixes.

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

Created: 2004-08-21 11:58:46 +0200 (10 years 2 months ago) | Author: ragge | Changeset: MAIN:ragge:20040821095846

New cpp.

latest revision download Branch r-1-0-0

1.124.2.2 annotated / raw | Diffs: previous, other | Lines: 1971 ( +15, -12 )

Created: 2011-03-27 15:17:19 +0200 (3 years 7 months ago) | Author: ragge | Changeset: r-1-0-0:ragge:20110327131719

Pullup 1.128 from mainline.

Branch point for: r-1-0-1

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

1.124.2.1 annotated / raw | Diffs: previous, other | Lines: 1968 ( +2, -2 )

Created: 2011-03-12 08:21:52 +0100 (3 years 7 months ago) | Author: ragge | Changeset: r-1-0-0:ragge:20110312072152

Pullup rev 1.126 from mainline.

FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-30 14:00 +0100