No main() Error
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Wed Feb 12 21:19:32 UTC 2025
On 13/02/2025 10:13 AM, Walter Bright wrote:
> On 2/4/2025 1:25 AM, Richard (Rikki) Andrew Cattermole wrote:
>> It looks like it can work without semantic analysis having been done too.
>
> Linkage requires semantic analysis. isNested and isMember are not
> determined by the parser, either.
Yeah I learned that two days ago. That it was much later than I thought
it would be.
Regardless it doesn't change my responses here regarding main function
detection. It doesn't nor should it be special cased like originally
requested as that is the job of the linker.
More information about the dip.ideas
mailing list