ack.git
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

34 years agoAdded verbose option
ceriel [Thu, 15 Mar 1990 10:44:14 +0000 (10:44 +0000)]
Added verbose option

34 years agochanged commented #define's into #undef's
eck [Wed, 14 Mar 1990 12:49:16 +0000 (12:49 +0000)]
changed commented #define's into #undef's

34 years agoFixed to also handle pseudo instructions
ceriel [Wed, 14 Mar 1990 11:47:09 +0000 (11:47 +0000)]
Fixed to also handle pseudo instructions

34 years agofix: generated wrong loops
ceriel [Wed, 14 Mar 1990 11:42:28 +0000 (11:42 +0000)]
fix: generated wrong loops

34 years agoEM_mkcalls is obsolete
ceriel [Wed, 14 Mar 1990 10:16:49 +0000 (10:16 +0000)]
EM_mkcalls is obsolete

34 years agofixed calls of echo() macro's
eck [Tue, 13 Mar 1990 14:33:43 +0000 (14:33 +0000)]
fixed calls of echo() macro's

34 years agoAdded 16-bit mode
ceriel [Mon, 12 Mar 1990 16:24:58 +0000 (16:24 +0000)]
Added 16-bit mode

34 years agochanged target_sizes.h to trgt_sizes.h
eck [Mon, 12 Mar 1990 13:35:26 +0000 (13:35 +0000)]
changed target_sizes.h to trgt_sizes.h

34 years agochanged line_prefix.h to ln_prefix.h
eck [Mon, 12 Mar 1990 13:28:12 +0000 (13:28 +0000)]
changed line_prefix.h to ln_prefix.h

34 years agodocumented .use16 and .use32
ceriel [Fri, 9 Mar 1990 12:37:19 +0000 (12:37 +0000)]
documented .use16 and .use32

34 years agoAdded arpl instruction
ceriel [Fri, 9 Mar 1990 11:07:43 +0000 (11:07 +0000)]
Added arpl instruction

34 years agoallow for % in assembler strings
ceriel [Wed, 7 Mar 1990 16:24:06 +0000 (16:24 +0000)]
allow for % in assembler strings

34 years agofixed typo
ceriel [Tue, 6 Mar 1990 13:39:48 +0000 (13:39 +0000)]
fixed typo

34 years agofix: ARRAY type of itself caused crash;
ceriel [Tue, 6 Mar 1990 13:22:30 +0000 (13:22 +0000)]
fix: ARRAY type of itself caused crash;
better implementation of ranges in CASE labels

34 years agoadded test for directory
eck [Tue, 6 Mar 1990 13:10:35 +0000 (13:10 +0000)]
added test for directory

34 years agomade little mistakes in div() and ldiv()
eck [Mon, 5 Mar 1990 13:48:03 +0000 (13:48 +0000)]
made little mistakes in div() and ldiv()

34 years agofixed div() and ldiv()
eck [Thu, 1 Mar 1990 16:32:22 +0000 (16:32 +0000)]
fixed div() and ldiv()

34 years agofloating-point yet again, fixed debugging bug
eck [Thu, 1 Mar 1990 13:02:39 +0000 (13:02 +0000)]
floating-point yet again, fixed debugging bug

34 years agoalso give a message on loading a floating-point function result
eck [Wed, 28 Feb 1990 15:32:07 +0000 (15:32 +0000)]
also give a message on loading a floating-point function result

34 years agoimproved the generation of floating-point messages
eck [Wed, 28 Feb 1990 14:51:35 +0000 (14:51 +0000)]
improved the generation of floating-point messages

34 years agoAdded some code to reverse evaluation order of assignment operators when possible
ceriel [Wed, 28 Feb 1990 12:18:36 +0000 (12:18 +0000)]
Added some code to reverse evaluation order of assignment operators when possible

34 years agoFix: some patterns were never found due to wrong condition
ceriel [Wed, 28 Feb 1990 12:10:49 +0000 (12:10 +0000)]
Fix: some patterns were never found due to wrong condition

34 years agoAdded some patterns
ceriel [Wed, 28 Feb 1990 12:10:19 +0000 (12:10 +0000)]
Added some patterns

34 years agoAdded some more patterns
ceriel [Wed, 28 Feb 1990 11:14:39 +0000 (11:14 +0000)]
Added some more patterns

34 years agochanged names of ?cvt : namespace problems
eck [Tue, 27 Feb 1990 16:48:01 +0000 (16:48 +0000)]
changed names of ?cvt : namespace problems

34 years agoAdded pattern for cmp A,A
ceriel [Tue, 27 Feb 1990 16:31:10 +0000 (16:31 +0000)]
Added pattern for cmp A,A

34 years agofixed problems with overflow bit in condition codes
ceriel [Tue, 27 Feb 1990 16:21:47 +0000 (16:21 +0000)]
fixed problems with overflow bit in condition codes

34 years agoFixed problem with anonymous structure tags
ceriel [Tue, 27 Feb 1990 15:45:09 +0000 (15:45 +0000)]
Fixed problem with anonymous structure tags

34 years agoimproved test for overflow
ceriel [Tue, 27 Feb 1990 14:30:10 +0000 (14:30 +0000)]
improved test for overflow

34 years agoadded extern declaration for flt_flt2arith()
eck [Mon, 26 Feb 1990 15:39:45 +0000 (15:39 +0000)]
added extern declaration for flt_flt2arith()

34 years agotwo fixes to the lint part: unsigned constant compares, and initializations in switch...
ceriel [Mon, 26 Feb 1990 11:35:15 +0000 (11:35 +0000)]
two fixes to the lint part: unsigned constant compares, and initializations in switch headers

34 years agodeleted a ';': pasting didn't work properly
eck [Mon, 26 Feb 1990 10:18:40 +0000 (10:18 +0000)]
deleted a ';': pasting didn't work properly

34 years agoOops in assertion: MAXPROCARG instead of MAXPROCARGS
ceriel [Fri, 23 Feb 1990 17:05:04 +0000 (17:05 +0000)]
Oops in assertion: MAXPROCARG instead of MAXPROCARGS

34 years agofixed library order : fix for 2-byte machines
ceriel [Fri, 23 Feb 1990 17:02:06 +0000 (17:02 +0000)]
fixed library order : fix for 2-byte machines

34 years agofixed for 2-byte machines
ceriel [Fri, 23 Feb 1990 17:00:59 +0000 (17:00 +0000)]
fixed for 2-byte machines

34 years agoprint pointer as hex
ceriel [Fri, 23 Feb 1990 16:58:34 +0000 (16:58 +0000)]
print pointer as hex

34 years agofixed bugs, added No_Mem()
eck [Wed, 21 Feb 1990 16:38:45 +0000 (16:38 +0000)]
fixed bugs, added No_Mem()

34 years agoa few fixes: usual arithmetic conversions were wrong
ceriel [Tue, 20 Feb 1990 13:31:52 +0000 (13:31 +0000)]
a few fixes: usual arithmetic conversions were wrong

34 years agoAdded some patterns for shifts with constant shift count
ceriel [Mon, 19 Feb 1990 16:38:35 +0000 (16:38 +0000)]
Added some patterns for shifts with constant shift count

34 years agobug fix: far calls+jumps with address prefix were wrong
ceriel [Mon, 19 Feb 1990 09:06:16 +0000 (09:06 +0000)]
bug fix: far calls+jumps with address prefix were wrong

34 years agoUnder the -M option, identifiers were sometimes truncated
ceriel [Wed, 14 Feb 1990 11:57:41 +0000 (11:57 +0000)]
Under the -M option, identifiers were sometimes truncated

34 years agofixed fflush: it didn't even compile!
eck [Tue, 13 Feb 1990 17:08:05 +0000 (17:08 +0000)]
fixed fflush: it didn't even compile!

34 years agosome corrections
ceriel [Tue, 13 Feb 1990 09:23:04 +0000 (09:23 +0000)]
some corrections