mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-05 22:48:42 +00:00
partition fixes, main file fix
This commit is contained in:
parent
a97a6125de
commit
93ac5f8e33
8 changed files with 33 additions and 18 deletions
|
|
@ -29,6 +29,11 @@ inline void HandleParsingError(const std::string& message,
|
|||
exit(1);
|
||||
}
|
||||
|
||||
inline void HandleGeneralError(const std::string& message) {
|
||||
std::cout << "General Error: " << message << ".\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
inline void HandleInternalError(const std::string& message, const std::string& place) {
|
||||
std::cout << "Internal Error: " << message << " at " << place << ".\n";
|
||||
exit(1);
|
||||
|
|
|
|||
|
|
@ -194,8 +194,7 @@ struct ArrayExpression;
|
|||
struct PartitionName {
|
||||
BaseNode base;
|
||||
|
||||
std::vector<TypeIdentifier> path;
|
||||
NameIdentifier name;
|
||||
std::vector<AnyIdentifier> path; // name is last element of path
|
||||
};
|
||||
|
||||
struct NameExpression;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue