Skip to content

Commit 9fe511d

Browse files
committed
Improved some comments.
1 parent bdb9607 commit 9fe511d

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

CodeGenEngine/RepositoryTools.dbl

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)