enhanced set_syntax_errbmsg() to set_syntax_errbfmt().

collapsed three separate syntax error code to a single code MOO_SYNERR_INHERITBANNED.
added moo_seterrbfmtv() and moo_seterrufmtv() for internal use
This commit is contained in:
hyunghwan.chung
2018-01-07 08:00:23 +00:00
parent e9b33016a4
commit 171b02449e
8 changed files with 181 additions and 106 deletions

View File

@ -234,6 +234,9 @@ class X(Object)
class(#byte(3)) Y(X)
{
}
class (#word(2)) Z(Y)
{
}
##class InetSocketAddress(SocketAddress)
##{

View File

@ -77,9 +77,8 @@ class MyObject(Object)
'duplicate class'
'contradictory class definition'
'wrong class name'
'non-pointer class not allowed to inherit a superclass with trailer size set'
'not allowed to inherit a #final class'
'invalid class type size'
'invalid non-pointer instance size'
'prohibited inheritance'
'variable declaration not allowed'
'modifier expected'
'wrong modifier'