ack.git
34 years agoAdded new patterns
ceriel [Thu, 14 Jun 1990 16:45:33 +0000 (16:45 +0000)]
Added new patterns

34 years agoAdded a SBS pattern for constant args
ceriel [Wed, 13 Jun 1990 09:59:11 +0000 (09:59 +0000)]
Added a SBS pattern for constant args

34 years agofix: #if instead of #ifdef
ceriel [Tue, 12 Jun 1990 11:22:49 +0000 (11:22 +0000)]
fix: #if instead of #ifdef

34 years agochanged order so that it works without ranlib
ceriel [Tue, 12 Jun 1990 11:21:40 +0000 (11:21 +0000)]
changed order so that it works without ranlib

34 years agofix from Verstoep: free() was called twice on same arg
ceriel [Tue, 12 Jun 1990 10:07:00 +0000 (10:07 +0000)]
fix from Verstoep: free() was called twice on same arg

34 years agofix previous fix
ceriel [Mon, 11 Jun 1990 15:17:50 +0000 (15:17 +0000)]
fix previous fix

34 years agoAdded dependency generator, reduced size of type structure
ceriel [Fri, 8 Jun 1990 10:03:47 +0000 (10:03 +0000)]
Added dependency generator, reduced size of type structure

34 years agodo not generate line number/file name information by default for C
ceriel [Wed, 6 Jun 1990 17:04:46 +0000 (17:04 +0000)]
do not generate line number/file name information by default for C

34 years agouse own version of assert (ASSERT)
ceriel [Wed, 6 Jun 1990 16:54:30 +0000 (16:54 +0000)]
use own version of assert (ASSERT)

34 years agodependencies
ceriel [Wed, 6 Jun 1990 16:23:47 +0000 (16:23 +0000)]
dependencies

34 years agochange flag -xs to -i, -xm to -m, dependencies
ceriel [Wed, 6 Jun 1990 16:10:19 +0000 (16:10 +0000)]
change flag -xs to -i, -xm to -m, dependencies

34 years agochange flag -xs to -i, -xm to -m
ceriel [Wed, 6 Jun 1990 16:01:03 +0000 (16:01 +0000)]
change flag -xs to -i, -xm to -m

34 years agochange flag -s to -i
ceriel [Wed, 6 Jun 1990 16:00:28 +0000 (16:00 +0000)]
change flag -s to -i

34 years agoremoved useless #ifdef
ceriel [Wed, 6 Jun 1990 15:35:33 +0000 (15:35 +0000)]
removed useless #ifdef

34 years agoAdded dependency generator
ceriel [Wed, 6 Jun 1990 14:42:53 +0000 (14:42 +0000)]
Added dependency generator

34 years agoAdded -A option, like -d
ceriel [Wed, 6 Jun 1990 14:37:03 +0000 (14:37 +0000)]
Added -A option, like -d

34 years agomktime() did not work for 2-byte machines
ceriel [Tue, 5 Jun 1990 12:07:28 +0000 (12:07 +0000)]
mktime() did not work for 2-byte machines

34 years agofixed typo
ceriel [Tue, 5 Jun 1990 09:50:28 +0000 (09:50 +0000)]
fixed typo

34 years agooptimized a bit
ceriel [Thu, 31 May 1990 18:33:38 +0000 (18:33 +0000)]
optimized a bit

34 years agoRemoved some erroneous fclose() calls
ceriel [Thu, 31 May 1990 13:54:33 +0000 (13:54 +0000)]
Removed some erroneous fclose() calls

34 years agoremoved DEBUG #define
ceriel [Thu, 31 May 1990 13:33:31 +0000 (13:33 +0000)]
removed DEBUG #define

34 years agofix: IL sometimes removed procedures that could be called indirectly
ceriel [Wed, 30 May 1990 11:31:32 +0000 (11:31 +0000)]
fix: IL sometimes removed procedures that could be called indirectly

34 years agoAdded EM_vars.c
ceriel [Wed, 23 May 1990 09:24:55 +0000 (09:24 +0000)]
Added EM_vars.c

34 years agomake GMT the default
ceriel [Tue, 22 May 1990 14:42:28 +0000 (14:42 +0000)]
make GMT the default

34 years agofix to fix
ceriel [Tue, 22 May 1990 12:22:25 +0000 (12:22 +0000)]
fix to fix

34 years agoatol and atoi get old-fashioned behaviour
ceriel [Tue, 22 May 1990 10:48:12 +0000 (10:48 +0000)]
atol and atoi get old-fashioned behaviour

34 years agoUse fputs instead of printf in perror.c
ceriel [Mon, 21 May 1990 10:20:15 +0000 (10:20 +0000)]
Use fputs instead of printf in perror.c

34 years agocompares with 0 were wrong
ceriel [Fri, 18 May 1990 13:22:13 +0000 (13:22 +0000)]
compares with 0 were wrong

34 years agomade size of yylex bigger
ceriel [Fri, 18 May 1990 11:04:53 +0000 (11:04 +0000)]
made size of yylex bigger

34 years agoAdded a pattern
ceriel [Fri, 18 May 1990 10:47:12 +0000 (10:47 +0000)]
Added a pattern

34 years agounsigned but-fields were sometimes sign-extended when converted to int
ceriel [Fri, 18 May 1990 10:29:57 +0000 (10:29 +0000)]
unsigned but-fields were sometimes sign-extended when converted to int

34 years agoignore NOP
ceriel [Thu, 17 May 1990 19:40:15 +0000 (19:40 +0000)]
ignore NOP

34 years agoC_out uses EM_bsssize etc. instead of C_bsssize etc.
ceriel [Wed, 16 May 1990 18:05:55 +0000 (18:05 +0000)]
C_out uses EM_bsssize etc. instead of C_bsssize etc.

34 years agoremoved references to C_bssinit etc.
ceriel [Wed, 16 May 1990 18:03:50 +0000 (18:03 +0000)]
removed references to C_bssinit etc.

34 years agoremoved pc_size.h
ceriel [Wed, 16 May 1990 10:56:45 +0000 (10:56 +0000)]
removed pc_size.h

34 years agothe tp_sdef field of the type structure may only be used after checking tp_fund
ceriel [Tue, 15 May 1990 15:28:01 +0000 (15:28 +0000)]
the tp_sdef field of the type structure may only be used after checking tp_fund

34 years agoan = was temporarily set to 0, but not reset
ceriel [Mon, 14 May 1990 12:30:18 +0000 (12:30 +0000)]
an = was temporarily set to 0, but not reset

34 years agoerror with cast to unsigned long
eck [Fri, 11 May 1990 15:22:19 +0000 (15:22 +0000)]
error with cast to unsigned long

34 years agocheck -m option
ceriel [Fri, 11 May 1990 13:11:12 +0000 (13:11 +0000)]
check -m option

34 years agofix in sscanf: _count field was wrong
ceriel [Wed, 9 May 1990 13:31:36 +0000 (13:31 +0000)]
fix in sscanf: _count field was wrong

34 years agofixed some patterns: operand could have side effects
ceriel [Tue, 8 May 1990 09:03:28 +0000 (09:03 +0000)]
fixed some patterns: operand could have side effects

34 years agofixed bug with double definition
eck [Thu, 3 May 1990 16:18:22 +0000 (16:18 +0000)]
fixed bug with double definition

34 years agoscan with %p didn't work properly on 2-4 machines
eck [Thu, 3 May 1990 10:50:23 +0000 (10:50 +0000)]
scan with %p didn't work properly on 2-4 machines

34 years agocast ptrdiff_t to int for ANSI
eck [Wed, 25 Apr 1990 15:10:13 +0000 (15:10 +0000)]
cast ptrdiff_t to int for ANSI

34 years agowarn about ptrdiff_t passed as long on 2-4 machines
eck [Wed, 25 Apr 1990 15:09:51 +0000 (15:09 +0000)]
warn about ptrdiff_t passed as long on 2-4 machines

34 years agocast ptrdiff_t to int for ANSI
ceriel [Wed, 25 Apr 1990 14:23:05 +0000 (14:23 +0000)]
cast ptrdiff_t to int for ANSI

34 years agoavoid a crash in directives
ceriel [Tue, 24 Apr 1990 14:07:07 +0000 (14:07 +0000)]
avoid a crash in directives

34 years agogarbage is allowed in the fdopen mode string
eck [Tue, 24 Apr 1990 09:40:47 +0000 (09:40 +0000)]
garbage is allowed in the fdopen mode string

34 years agogarbage is allowed in the f[re]open mode string
eck [Tue, 24 Apr 1990 09:30:15 +0000 (09:30 +0000)]
garbage is allowed in the f[re]open mode string

34 years agoavoid null references on illegal input
ceriel [Mon, 23 Apr 1990 16:11:37 +0000 (16:11 +0000)]
avoid null references on illegal input

34 years agosome more corrections
eck [Mon, 23 Apr 1990 13:48:43 +0000 (13:48 +0000)]
some more corrections

34 years agoUse C_out instead if EM_mkcalls
ceriel [Mon, 23 Apr 1990 13:43:05 +0000 (13:43 +0000)]
Use C_out instead if EM_mkcalls

34 years agouse .limhp
ceriel [Mon, 23 Apr 1990 13:39:26 +0000 (13:39 +0000)]
use .limhp

34 years agomoved a coercion
ceriel [Mon, 23 Apr 1990 13:38:19 +0000 (13:38 +0000)]
moved a coercion

34 years agoINS instruction fix
ceriel [Mon, 23 Apr 1990 13:33:26 +0000 (13:33 +0000)]
INS instruction fix

34 years agoresult of sizeof() is 'unsigned int' (for backward compatibility)
eck [Mon, 23 Apr 1990 13:33:07 +0000 (13:33 +0000)]
result of sizeof() is 'unsigned int' (for backward compatibility)

34 years agosize_t is 'unsigned int' (for backward compatibility)
eck [Mon, 23 Apr 1990 13:26:09 +0000 (13:26 +0000)]
size_t is 'unsigned int' (for backward compatibility)

34 years agoyet another bug fix in instructions handling special registers
ceriel [Mon, 23 Apr 1990 12:35:41 +0000 (12:35 +0000)]
yet another bug fix in instructions handling special registers

34 years agochanged remark about predefined identifiers
eck [Thu, 19 Apr 1990 16:04:58 +0000 (16:04 +0000)]
changed remark about predefined identifiers

34 years agothe -U option did not work properly; call do_undef() now
eck [Wed, 18 Apr 1990 16:40:17 +0000 (16:40 +0000)]
the -U option did not work properly; call do_undef() now

34 years agotwo -D options for one identifier didn't work
eck [Wed, 18 Apr 1990 13:09:36 +0000 (13:09 +0000)]
two -D options for one identifier didn't work

34 years agotwo -D options for one identifier didn't work
eck [Wed, 18 Apr 1990 13:03:05 +0000 (13:03 +0000)]
two -D options for one identifier didn't work

34 years agoadded wait-statements for floating-point library
eck [Tue, 17 Apr 1990 13:57:23 +0000 (13:57 +0000)]
added wait-statements for floating-point library

34 years agoadded a.out.h for the cv program
eck [Thu, 12 Apr 1990 17:03:31 +0000 (17:03 +0000)]
added a.out.h for the cv program

34 years agoadded csa4 and csb4
eck [Thu, 12 Apr 1990 11:35:10 +0000 (11:35 +0000)]
added csa4 and csb4

34 years agoadded csa4 and csb4
eck [Thu, 12 Apr 1990 11:29:49 +0000 (11:29 +0000)]
added csa4 and csb4

34 years agoadded warning for nested comment
eck [Tue, 10 Apr 1990 10:52:52 +0000 (10:52 +0000)]
added warning for nested comment

34 years agodon't free prototype lists, they might be part of a typedef
eck [Tue, 10 Apr 1990 10:14:46 +0000 (10:14 +0000)]
don't free prototype lists, they might be part of a typedef

34 years agotimezone info should not end up in rom
eck [Mon, 9 Apr 1990 17:03:58 +0000 (17:03 +0000)]
timezone info should not end up in rom

34 years agochanged over/underflow for exp()
eck [Mon, 9 Apr 1990 16:54:09 +0000 (16:54 +0000)]
changed over/underflow for exp()

34 years agofile creation on f[re]open() was still wrong
eck [Mon, 9 Apr 1990 15:55:51 +0000 (15:55 +0000)]
file creation on f[re]open() was still wrong

34 years agodeleted _tname from __iobuf structure
eck [Mon, 9 Apr 1990 15:38:02 +0000 (15:38 +0000)]
deleted _tname from __iobuf structure

34 years agoimproved file creation on f[re]open()
eck [Mon, 9 Apr 1990 15:21:43 +0000 (15:21 +0000)]
improved file creation on f[re]open()

34 years agovarious bug fixes & improvements
eck [Fri, 6 Apr 1990 15:37:16 +0000 (15:37 +0000)]
various bug fixes & improvements

34 years agodefinition of ptrdiff_t was wrong
eck [Wed, 4 Apr 1990 16:21:34 +0000 (16:21 +0000)]
definition of ptrdiff_t was wrong

34 years agoimproved _doscan(); fflush() doesn't call fseek() anymore
eck [Wed, 4 Apr 1990 15:52:01 +0000 (15:52 +0000)]
improved _doscan(); fflush() doesn't call fseek() anymore

34 years agocode for '*(ip = iarr) = x' was wrong
eck [Wed, 4 Apr 1990 15:08:45 +0000 (15:08 +0000)]
code for '*(ip = iarr) = x' was wrong

34 years agocorrected SDF patterns
ceriel [Wed, 4 Apr 1990 15:06:32 +0000 (15:06 +0000)]
corrected SDF patterns

34 years agoFixed wrong assertion, and fixed bug in distance routine: it did not check
ceriel [Wed, 4 Apr 1990 14:52:29 +0000 (14:52 +0000)]
Fixed wrong assertion, and fixed bug in distance routine: it did not check
that each stackpattern token that does not exactly match can be made from the
stack

34 years agochanged assert() macro so __bad_assertion() can use fputs()
eck [Tue, 3 Apr 1990 15:29:03 +0000 (15:29 +0000)]
changed assert() macro so __bad_assertion() can use fputs()

34 years agochanged __bad_assertion(), it now uses fputs()
eck [Tue, 3 Apr 1990 15:01:58 +0000 (15:01 +0000)]
changed __bad_assertion(), it now uses fputs()

34 years agoimproved volatiles, added warning for possibly nested comments
eck [Mon, 2 Apr 1990 15:57:51 +0000 (15:57 +0000)]
improved volatiles, added warning for possibly nested comments

34 years agoFix: did generate wrong code for 'if (x && 0) ...'
ceriel [Thu, 29 Mar 1990 11:19:36 +0000 (11:19 +0000)]
Fix: did generate wrong code for 'if (x && 0) ...'

34 years agobug fix for #line directives
eck [Thu, 29 Mar 1990 10:45:15 +0000 (10:45 +0000)]
bug fix for #line directives

34 years agobug fixes after test-suite
eck [Thu, 29 Mar 1990 10:41:46 +0000 (10:41 +0000)]
bug fixes after test-suite

34 years agoproduced incorrect 'pure' objects
ceriel [Thu, 29 Mar 1990 09:46:14 +0000 (09:46 +0000)]
produced incorrect 'pure' objects

34 years agoseveral bug fixes after test-suite
eck [Thu, 29 Mar 1990 09:05:21 +0000 (09:05 +0000)]
several bug fixes after test-suite

34 years agoAdded #defines for _EM_?SIZE
ceriel [Wed, 28 Mar 1990 17:14:35 +0000 (17:14 +0000)]
Added #defines for _EM_?SIZE

34 years agoseveral bug fixes after test-suite
eck [Wed, 28 Mar 1990 16:37:18 +0000 (16:37 +0000)]
several bug fixes after test-suite

34 years agobug fixes for scanf()
eck [Wed, 28 Mar 1990 16:33:05 +0000 (16:33 +0000)]
bug fixes for scanf()

34 years agofix: still sometimes assumed that a move to address register sets condition codes
ceriel [Mon, 26 Mar 1990 14:47:26 +0000 (14:47 +0000)]
fix: still sometimes assumed that a move to address register sets condition codes

34 years agofixed bug in conversion from float/double to unsigned
ceriel [Mon, 26 Mar 1990 14:16:59 +0000 (14:16 +0000)]
fixed bug in conversion from float/double to unsigned

34 years agoFix: did not work with ALIGNMENT < MIN_SIZE
ceriel [Wed, 21 Mar 1990 16:45:39 +0000 (16:45 +0000)]
Fix: did not work with ALIGNMENT < MIN_SIZE

34 years agoforgot )
eck [Wed, 21 Mar 1990 14:46:18 +0000 (14:46 +0000)]
forgot )

34 years agofixed wrong assertion
eck [Wed, 21 Mar 1990 13:33:14 +0000 (13:33 +0000)]
fixed wrong assertion

34 years agoadapted directory test for POSIX
eck [Wed, 21 Mar 1990 11:13:21 +0000 (11:13 +0000)]
adapted directory test for POSIX

34 years agosimplified stupid ?: expression
ceriel [Tue, 20 Mar 1990 16:24:21 +0000 (16:24 +0000)]
simplified stupid ?: expression

34 years agominor improvement: LDC CMS T?? does not need STACK in stack pattern
ceriel [Tue, 20 Mar 1990 15:49:04 +0000 (15:49 +0000)]
minor improvement: LDC CMS T?? does not need STACK in stack pattern

34 years agoLDC CMS TNE was wrong
ceriel [Tue, 20 Mar 1990 15:01:25 +0000 (15:01 +0000)]
LDC CMS TNE was wrong

34 years agoFixed 16-bit address mode bugs
ceriel [Mon, 19 Mar 1990 14:46:55 +0000 (14:46 +0000)]
Fixed 16-bit address mode bugs