mirror of
https://onedev.site.tesses.net/crosslang
synced 2026-02-08 09:05:46 +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