2024-07-29 07:26:47 +02:00
|
|
|
# Name analysis
|
2024-07-21 16:15:17 +02:00
|
|
|
|
2024-07-29 07:26:47 +02:00
|
|
|
- Collect all global type and procedure definitions.
|
|
|
|
Give errors if:
|
|
|
|
- The type is already defined.
|
|
|
|
- Base type is not defined.
|
2024-07-30 23:49:16 +02:00
|
|
|
- Replace equivalent type with its base type.
|
2024-07-29 07:26:47 +02:00
|
|
|
|
|
|
|
- Check definitions inside procedures.
|