mirror of
https://onedev.site.tesses.net/crosslang
synced 2026-02-08 17:15:45 +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("}");
|
EnsureSymbol("}");
|
||||||
|
|||||||
Reference in New Issue
Block a user