Commit eb5cc397 authored by Claes Sjofors's avatar Claes Sjofors

Plc editor compile check that GetIpPtr ans SetIpPtr references a pointer (refs #238)

parent 5b512f24
...@@ -11390,6 +11390,10 @@ int gcg_comp_m35( gcg_ctx gcgctx, vldh_t_node node) ...@@ -11390,6 +11390,10 @@ int gcg_comp_m35( gcg_ctx gcgctx, vldh_t_node node)
gcg_error_msg( gcgctx, GSX__REFPARTYPE, node); gcg_error_msg( gcgctx, GSX__REFPARTYPE, node);
return GSX__NEXTPAR; return GSX__NEXTPAR;
} }
if ( !(info.flags & PWR_MASK_POINTER && !(info.flags & PWR_MASK_PRIVATE))) {
gcg_error_msg( gcgctx, GSX__REFPARTYPE, node);
return GSX__NEXTPAR;
}
break; break;
default:; default:;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment