David Given
6931ffa5a4
Disable the built-in preprocessor in cemcom.ansi; the external preprocessor is
...
always run. Fix a bug in block skipping in the preprocessor.
2018-09-02 12:39:00 +02:00
David Given
f8fc5bc3d8
Implement single-line C++-style comments.
...
Fixes : #118
2018-09-02 12:14:59 +02:00
David Given
dd00b81080
Run files through clang-format before editing.
2018-09-02 11:36:15 +02:00
George Koehler
87a2315037
strcmp, strncmp are in <string.h>
...
*Important:* Do `make clean` to work around a problem and prevent
infinite rebuilds, https://github.com/davidgiven/ack/issues/68
I edit tokens.g in util/LLgen/src, so I regenerate tokens.c. The
regeneration script bootstrap.sh can't find LLgen, but I can run the
same command by typing the path to llgen.
2017-11-14 17:35:35 -05:00
David Given
fd91851005
Add enough return types to the K&R C that the ACK builds (on Linux) using clang
...
now.
2016-11-10 22:04:18 +01:00
David Given
c1aca7dae5
First milestone of replacing the build system.
...
--HG--
branch : dtrg-buildsystem
rename : lang/cem/cpp.ansi/Parameters => lang/cem/cpp.ansi/parameters.h
2013-05-12 20:45:55 +01:00
ceriel
91cb060d10
Replaced a couple of UnGetChar calls with ChPushBack calls. The
...
UnGetChar call is wrong after skipspaces().
1998-02-09 09:49:00 +00:00
ceriel
d801356f1e
Fixed typo
1995-03-27 11:22:57 +00:00
ceriel
1db6a3029b
Header --> Id
1994-06-24 14:02:31 +00:00
ceriel
f06b39f112
removed wrong assertion
1994-04-19 10:46:08 +00:00
ceriel
6fc94eb375
Improved constant arithmetic: had several bugs
1993-03-18 13:24:20 +00:00
ceriel
cf7095f8cc
Fix small bug: space following a replacement list was included in the list
1993-01-26 11:49:23 +00:00
ceriel
1de983200b
Fixed bug in '#ifdef FALSE || 1 (garbage)
1992-05-26 18:09:11 +00:00
ceriel
950e26815e
Fix '#undef' handling
1991-12-16 14:06:09 +00:00
ceriel
2552813eaa
Corrected #error and #define
1991-04-11 10:52:52 +00:00
ceriel
589f3a3e35
Check for garbage in #pragma and #include
1991-01-03 13:50:57 +00:00
eck
007151ef1d
improved error-handling on conditionally excluded #-lines
1990-12-10 11:17:34 +00:00
eck
f614fc6dc3
fixed two little bugs
1990-08-31 10:27:12 +00:00
ceriel
aff5b89ac9
change flag -xs to -i, -xm to -m, dependencies
1990-06-06 16:10:19 +00:00
eck
7987a1fed8
cast ptrdiff_t to int for ANSI
1990-04-25 15:10:13 +00:00
eck
64e9d11570
the -U option did not work properly; call do_undef() now
1990-04-18 16:40:17 +00:00
eck
99e74b2341
bug fix for #line directives
1990-03-29 10:45:15 +00:00
eck
d04a8595f3
fixed calls of echo() macro's
1990-03-13 14:33:43 +00:00
eck
f4dcfc3c64
bug fix with #include in argument
...
save #pragma's until they can be printed
1990-01-26 14:49:13 +00:00
eck
abcaa3e669
changed UnGetChar() to ChPushBack() in domacro.c
1990-01-05 09:28:54 +00:00
eck
c6d60cb24f
fixed small bug
1989-11-27 11:40:58 +00:00
eck
f9fadbf045
fixed bugs, added dynamic buffer allocation
1989-11-22 12:59:15 +00:00
eck
bdbbf32404
fixed bug, added -o option
1989-10-31 10:02:48 +00:00
eck
1d37165575
Initial revision
1989-10-23 10:35:56 +00:00