ack/util/opt
George Koehler 3d6ee435cf Fix pattern that was rewriting func(! var, var) as func(1).
Bug reported by Rune, see
 - https://sourceforge.net/p/tack/mailman/message/35809953/
 - https://github.com/davidgiven/ack/issues/62

In EM code, beq and bne pop 2 values and compare them, but teq and tne
pop only 1 value and compare it with zero.  We need cms to compare 2
values; other patterns may convert cmi or cmu to cms.
2017-10-29 14:53:33 -04:00
..
alloc.c Rationalised use of #includes to be more standards-compliant. 2006-07-20 23:04:15 +00:00
alloc.h Changed configuration to now use malloc()/free() rather than sbrk(). 2006-07-20 22:59:25 +00:00
assert.h Header --> Id 1994-06-24 11:31:16 +00:00
backward.c Header --> Id 1994-06-24 11:31:16 +00:00
build.lua mktab depends on some of the *.h files. 2017-10-28 21:41:59 -04:00
cleanup.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
em_opt.6 Tune the installed manual pages. 2017-01-18 23:02:30 -05:00
ext.h Header --> Id 1994-06-24 11:31:16 +00:00
flow.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
getline.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
line.h Header --> Id 1994-06-24 11:31:16 +00:00
lookup.c Modified to include the appropriate header file rather than (badly) 2006-07-26 12:28:56 +00:00
lookup.h Header --> Id 1994-06-24 11:31:16 +00:00
main.c Stop using mktemp() --- on Haiku, it always generates the same filenames, 2017-08-06 13:22:05 +02:00
mktab.y For DIAGOPT, change outshort(patno) to outshort(lino - 1). 2017-10-29 14:18:47 -04:00
optim.h Header --> Id 1994-06-24 11:31:16 +00:00
param.h Header --> Id 1994-06-24 11:31:16 +00:00
pattern.h Header --> Id 1994-06-24 11:31:16 +00:00
patterns Fix pattern that was rewriting func(! var, var) as func(1). 2017-10-29 14:53:33 -04:00
peephole.c Fix an insidious 64-bitness bug which was causing incorrectly optimised code. 2016-03-17 22:30:24 +01:00
pop_push.awk Renamed 'switch' variable to avoid conflict with a keyword in modern awks. 2010-08-01 10:35:04 +00:00
pop_push.h Added pop_push.h 1991-12-18 09:47:19 +00:00
process.c Header --> Id 1994-06-24 11:31:16 +00:00
proinf.h Header --> Id 1994-06-24 11:31:16 +00:00
putline.c Header --> Id 1994-06-24 11:31:16 +00:00
reg.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
scan.l First milestone of replacing the build system. 2013-05-12 20:45:55 +01:00
special.c Header --> Id 1994-06-24 11:31:16 +00:00
tes.c Add enough return types to the K&R C that the ACK builds (on Linux) using clang 2016-11-10 22:04:18 +01:00
tes.h Header --> Id 1994-06-24 11:31:16 +00:00
testopt Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.) 2006-07-18 17:20:46 +00:00
types.h Header --> Id 1994-06-24 11:31:16 +00:00
util.c Rationalised use of #includes to be more standards-compliant. 2006-07-20 23:04:15 +00:00
var.c Replaced references to /usr/tmp with references to /tmp. 2005-06-24 22:08:47 +00:00