mirror of
https://github.com/imjasonh/nescript
synced 2026-07-11 18:20:47 +00:00
Parser: E0505 error on multiple 'start' declarations
Previously a second \`start X\` statement silently overrode the first. Now emits E0505 at parse time. https://claude.ai/code/session_01W6eQFStA66EuMKHUFo2rx3
This commit is contained in:
parent
814cbe54bd
commit
4e05c008ce
3 changed files with 24 additions and 1 deletions
|
|
@ -39,7 +39,6 @@ pub enum ErrorCode {
|
|||
E0502, // undefined variable
|
||||
E0503, // undefined function
|
||||
E0504, // missing start declaration
|
||||
#[allow(dead_code)]
|
||||
E0505, // multiple start declarations
|
||||
|
||||
// W01xx: Warnings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue