Sync with 5.4.2
[deliverable/titan.core.git] / compiler2 / ttcn3 / Statement.cc
index b6f201c738d09a169d44ea297acba5f78536565b..bc65913964edbc01c2e373fc99b92dff12d975b7 100644 (file)
@@ -7643,6 +7643,8 @@ error:
 
   char *Assignment::generate_code(char *str)
   {
+    // check if the LHS reference is a parameter, mark it as used if it is
+    ref->refd_param_usage_found();
     FieldOrArrayRefs *t_subrefs = ref->get_subrefs();
     const bool rhs_copied = self_ref;
     switch (asstype) {
This page took 0.023374 seconds and 5 git commands to generate.