mirror of
https://git.tesses.org/tesses50/crosslang.git
synced 2026-06-01 10:15:31 +00:00
Add exception for classes with invalid syntax
This commit is contained in:
@@ -1440,6 +1440,9 @@ namespace Tesses::CrossLang
|
||||
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw SyntaxException(tokens[i].lineInfo, "Need public, private, protected or static");
|
||||
}
|
||||
}
|
||||
}
|
||||
EnsureSymbol("}");
|
||||
|
||||
Reference in New Issue
Block a user