1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-27 04:54:54 +00:00
cc65/src/ca65
Spiro Trikaliotis 364e72921c ca65: .constructor after .export fails
The actor directives (.constructor, .destructor, .interruptor, and .condes)
can't handle a symbol that's already exported.

The relevant code does the checks in the wrong order.

For example, the following correct snippet does not assemble:

        .export         C
C:      .constructor    C, 5

The assembler outputs: test.s:2: Error: Address size mismatch for symbol 'C'

Exchanging both lines makes it work.

This fixes #1647; the patch is provided by 'kugelfuhr' and taken from there.
2022-02-15 22:03:47 +01:00
..
anonname.c
anonname.h
asserts.c
asserts.h
condasm.c new macros supporting 6502DTV cpu 2020-11-19 22:02:07 +01:00
condasm.h
dbginfo.c
dbginfo.h
ea65.c
ea65.h
ea.h Removed non-ASCII chars. 2021-04-19 16:06:10 +02:00
easw16.c
easw16.h
enum.c
enum.h Removed non-ASCII chars. 2021-04-19 15:50:52 +02:00
error.c
error.h
expr.c Invalid flagged errors if token is missing 2022-02-15 21:46:07 +01:00
expr.h
feature.c
feature.h ca65: Add string_escapes feature. Resolves #535 2019-01-05 11:29:54 -08:00
filetab.c
filetab.h
fragment.c
fragment.h
global.c
global.h ca65: Add string_escapes feature. Resolves #535 2019-01-05 11:29:54 -08:00
incpath.c Normalized code. 2014-03-04 01:11:19 +01:00
incpath.h
instr.c
instr.h Add 4510 support for C65/C64DX 2016-08-29 10:45:18 +02:00
istack.c
istack.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
lineinfo.c
lineinfo.h
listing.c
listing.h
macro.c
macro.h
main.c
nexttok.c
nexttok.h
objcode.c
objcode.h
objfile.c
objfile.h
options.c
options.h
pseudo.c
pseudo.h
repeat.c
repeat.h
scanner.c
scanner.h
segdef.c
segdef.h
segment.c
segment.h
sizeof.c
sizeof.h Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
span.c
span.h
spool.c
spool.h Normalized code. 2014-03-04 01:11:19 +01:00
struct.c
struct.h
studyexpr.c
studyexpr.h
symbol.c
symbol.h
symentry.c ca65: .constructor after .export fails 2022-02-15 22:03:47 +01:00
symentry.h
symtab.c
symtab.h
token.c
token.h
toklist.c
toklist.h
ulabel.c
ulabel.h