fixed subroutine name shadow check

This commit is contained in:
Irmen de Jong
2022-11-10 22:45:07 +01:00
parent e614e9787a
commit 3dcf628fdb
4 changed files with 31 additions and 13 deletions

View File

@@ -3,7 +3,6 @@ TODO
For next release
^^^^^^^^^^^^^^^^
- AstIdentifiersChecker: fix the subroutine name shadow if-condition (see vardecl check)
- 6502 codegen: make it possible to use cpu opcodes such as 'nop' as variable names by prefixing all asm vars with something such as ``p8v_``? Or not worth it (most 3 letter opcodes as variables are nonsensical anyway)
then we can get rid of the instruction lists in the machinedefinitions as well. This is already no problem at all in the IR codegen.
- create BSS section in output program and put StStaticVariables in there with bss=true. Don't forget to add init code to zero out everything that was put in bss. If array in bss->only zero ONCE! So requires self-modifying code