Commit Graph

11987 Commits

Author SHA1 Message Date
Colin Leroy-Mira
28442e60b8 Emit warnings for wasted bytes when aligning 2025-10-19 15:00:13 +02:00
Bob Andrews
84bcd53c45 Merge pull request #2840 from polluks/patch-14
Fixed typos
2025-10-13 20:52:17 +02:00
Stefan
82dbc828af Fixed typos 2025-10-10 15:01:33 +02:00
Bob Andrews
c2556bb5e2 Merge pull request #1358 from dmsc/issue-479
Fixes Issue 479 (ca65: can't reference .proc members before declaration)
2025-10-05 15:39:56 +02:00
Bob Andrews
362e20b4d0 Merge pull request #2839 from danielg4/master
Fix uncatalogued name clash with libsrc/runtime/leave.s
2025-09-30 16:40:18 +02:00
Daniel Gimpelevich
6be0731247 Fix uncatalogued name clash with libsrc/runtime/leave.s
Even though these labels are not exported, they can show up in linker
maps and thus break o65 modules.
2025-09-29 18:22:53 -07:00
Bob Andrews
93c1b659ee Merge pull request #2824 from GrosChien/master
ca65 Fixing segfault when using `--expend-macros` without `--listing`
2025-09-22 21:18:39 +02:00
Bob Andrews
8ec38c38d5 Merge pull request #2827 from polluks/master
Fixed minor typo
2025-09-22 21:17:10 +02:00
Bob Andrews
ca7335023f Merge pull request #2834 from polluks/patch-12
Fixed overflow
2025-09-22 21:06:41 +02:00
Bob Andrews
4383841f24 Merge pull request #2833 from polluks/patch-10
Fixed typo
2025-09-22 21:03:56 +02:00
Bob Andrews
fae2d5511f Merge branch 'master' into patch-10 2025-09-22 21:03:18 +02:00
Bob Andrews
732c0c09f8 Merge pull request #2832 from polluks/patch-9
Fixed typos
2025-09-22 21:01:29 +02:00
Bob Andrews
9aab9e93aa Merge pull request #2829 from kugelfuhr/kugelfuhr/fix-2826
Fix hardcoded upper limit of ld65 input files
2025-09-22 21:00:43 +02:00
Stefan
9601b11a9c inplicit length 2025-09-18 11:10:41 +02:00
Stefan
5e89953bf9 Fixed overflow 2025-09-17 15:03:55 +02:00
Stefan
089f8f1425 Fixed typo 2025-09-14 22:36:31 +02:00
Stefan
1ef3f88f0a Fixed typos 2025-09-14 22:30:24 +02:00
Kugel Fuhr
0dc484f5a7 Fix hardcoded upper limit of input files. 2025-09-08 20:51:27 +02:00
Stefan
613e752051 Fixed minor typo 2025-09-05 09:58:36 +02:00
Gros chien
ee096d27df Fix segfault when using -x without -l 2025-08-26 23:45:39 +02:00
Colin Leroy-Mira
357f64e4e3 Address Oliver's comments 2025-08-26 15:11:15 +02:00
Colin Leroy-Mira
86bcf32580 Apple2: Add file_set_type() and file_set_auxtype()
MLI wrapper to be able to update existing ProDOS
files' type and auxtype.
2025-08-26 15:11:15 +02:00
Joshua Bell
ce20b6aa48 Explain the expected failures in 311 2025-08-22 09:57:45 -07:00
Joshua Bell
873361ba83 Show used values in listing 2025-08-22 09:49:04 -07:00
Joshua Bell
f18de5bc73 Remove accidentally included file 2025-08-22 09:37:23 -07:00
Joshua Bell
939276669f Tests for scopes and issue #479 / PR #1358 2025-08-21 10:07:54 -07:00
Daniel Serpell
2454ab831c When creating a new scope for a forwarded symbol, do not open it.
This fixes las example in the PR.
2025-08-17 20:24:08 -04:00
Daniel Serpell
acc26c0e7b When the scope is not found on ancestors, create on current scope.
This solves comment https://github.com/cc65/cc65/pull/1358#issuecomment-3193961949
2025-08-16 22:28:32 -04:00
Daniel Serpell
2323f46a54 Only search a symbol in parent scopes if not already scoped.
This fixes the case at: https://github.com/cc65/cc65/pull/1358#issuecomment-747194906
2025-08-16 17:29:12 -04:00
Daniel Serpell
76e31e5b75 Document usage of scope before definitions.
Note that before the last commit, the example did not assemble.
2025-08-16 11:17:43 -04:00
Daniel Serpell
5b70654289 Allows referencing a scope not yet created.
Use the "::" syntax at the start of the symbol to force creating
a scope if it does not exists yet.

Fixes issue #479.
2025-08-16 11:17:35 -04:00
mrdudz
6efe447d14 add some strategic git ignores, should satisfy #2818 2025-07-27 17:29:59 +02:00
Bob Andrews
5197c56c7c Merge pull request #2794 from mrdudz/fixgrc
Fixgrc
2025-07-27 00:23:02 +02:00
Bob Andrews
d06e0d9a16 Merge pull request #2812 from colinleroy/Opt-ldptr1
Optimize ldax?sp/sta/stx to ldptr1?sp
2025-07-27 00:22:21 +02:00
Bob Andrews
17c8e2154b Merge pull request #2811 from colinleroy/OptTosLoadPop
Optimize jsr ldax0sp/incsp2
2025-07-27 00:21:50 +02:00
Colin Leroy-Mira
1f6cca2140 Coding style 2025-07-27 00:02:48 +02:00
Colin Leroy-Mira
a0b705fd41 Remove code after inserting new one 2025-07-27 00:02:48 +02:00
Colin Leroy-Mira
0647cb1112 Merge jsr pushax/j?? popax into nothing or RTS 2025-07-27 00:02:48 +02:00
Colin Leroy-Mira
4c2cc24e77 Optimize jsr ldax0sp/incsp2 2025-07-27 00:02:18 +02:00
Colin Leroy-Mira
aa936b6d12 Fix copyright 2025-07-26 23:59:02 +02:00
mrdudz
cb39da2fba Use spaces instead of tabs in the output files 2025-07-26 23:52:14 +02:00
Bob Andrews
4c6c8b2430 Merge pull request #2819 from kugelfuhr/kugelfuhr/improved-flowanalysis
Improved flowanalysis for cc65
2025-07-26 23:37:49 +02:00
Kugel Fuhr
228671b7c4 Added another test. 2025-07-26 10:17:32 +02:00
Kugel Fuhr
8f4a4040d6 Complete unreachable checking for switch statements. 2025-07-26 09:03:27 +02:00
Kugel Fuhr
70c1bd5e3c Improved flow analysis in general and especially for "for" loops. Added more
tests.
2025-07-26 09:03:04 +02:00
Kugel Fuhr
8ac25376a0 Fix the "double semicolon" problem where a double semicolon after a statement
that makes the following code unreachable led to an "unreachable code" warning.
2025-07-26 09:02:54 +02:00
mrdudz
3d052ea4a3 remove some braces 2025-07-26 00:21:00 +02:00
Bob Andrews
b0e10e1f9a Merge pull request #2814 from jedeoric/master
telestrat target : lseek now returns position as it should
2025-07-26 00:18:38 +02:00
Bob Andrews
0a4af6df92 Merge pull request #2808 from kugelfuhr/kugelfuhr/flowanalysis
Simple flow analysis to find unreachable code
2025-07-26 00:10:21 +02:00
Bob Andrews
5809eaf037 Update libsrc/telestrat/lseek.s
Co-authored-by: kugelfuhr <98353208+kugelfuhr@users.noreply.github.com>
2025-07-26 00:01:07 +02:00