xpidl compiler was failing to complain that it is an error to use [shared] with 'inout' params. (no bug was filed) r=mccabe

git-svn-id: svn://10.0.0.236/trunk@49802 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jband%netscape.com
1999-10-05 04:23:35 +00:00
parent aa9be56cfa
commit 37f1655b17

View File

@@ -960,7 +960,7 @@ fill_pd_from_param(TreeState *state, XPTParamDescriptor *pd, IDL_tree tree)
if (IDL_tree_property_get(IDL_PARAM_DCL(tree).simple_declarator,
"shared")) {
if (flags == XPT_PD_IN) {
if (flags & XPT_PD_IN) {
IDL_tree_error(tree, "can't have [shared] with in%s param "
"(only out)\n",
flags & XPT_PD_OUT ? "out" : "");