File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -424,11 +424,12 @@ namespace CodeGen.Engine
424424 end
425425 end
426426
427- ;; Finally remove the group field from the structure
427+ ;; Remove the array field from the structure
428428 Struct.Fields.RemoveAt(ix)
429429
430- ;; And process this index again ( it's now the first field from the array)
430+ ;; And process the same index again, it's now the first field from the array
431431 ix-=1
432+
432433 nextloop
433434 end
434435 end
@@ -441,6 +442,18 @@ namespace CodeGen.Engine
441442 if (Field.GroupType==RpsFieldGroup.No)
442443 nextloop
443444
445+
446+ ;; ----------------------------------------------------------------------------------
447+ ;; If we get here then we have one of four types of GROUP field:
448+ ;;
449+ ;; 1. Explicit GROUP (fields defined locally)
450+ ;; 2. Implicit GROUP (fields defined by another structure)
451+ ;;
452+ ;; And if the "include overlays" command line option (-f o) was used:
453+ ;;
454+ ;; 3. Explicit GROUP OVERLAY
455+ ;; 4. Implicit GROUP OVERLAY
456+
444457 ;; Is it an explicit group and we've been told not to expand them?
445458
446459 if (Field.GroupType==RpsFieldGroup.Yes && String.IsNullOrWhiteSpace(Field.GroupStructure) && context.CurrentTask.ExplicitGroupNoExpand)
You can’t perform that action at this time.
0 commit comments