Skip to content

Commit 72ab337

Browse files
committed
temporarily disable d28 size limitation, reverse oder of generation for hc tasks
1 parent ceaa1b4 commit 72ab337

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CodeGenEngine/RepositoryTools.dbl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ namespace CodeGen.Engine
105105
;; No decimal fields longer than D28
106106
if (Field.DataType == RpsFieldDataType.Decimal && Field.Precision==0 && Field.Size > 28)
107107
begin
108-
ErrStatus = context.CurrentTask.ErrorLog(String.Format("Decimal field {0}.{1} exceeds the maximum size of D28!", Struct.Name, Field.Name))
109-
exitloop
108+
;;ErrStatus = context.CurrentTask.ErrorLog(String.Format("Decimal field {0}.{1} exceeds the maximum size of D28!", Struct.Name, Field.Name))
109+
;;exitloop
110110
end
111111

112112
;; ==================================================================================
@@ -115,8 +115,8 @@ namespace CodeGen.Engine
115115
begin
116116
if ((Field.Size-Field.Precision) > 28 || Field.Precision > 28)
117117
begin
118-
ErrStatus = context.CurrentTask.ErrorLog(String.Format("Implied decimal field {0}.{1} exceeds the maximum size of D56.28!", Struct.Name, Field.Name))
119-
exitloop
118+
;;ErrStatus = context.CurrentTask.ErrorLog(String.Format("Implied decimal field {0}.{1} exceeds the maximum size of D56.28!", Struct.Name, Field.Name))
119+
;;exitloop
120120
end
121121
end
122122

HarmonyCoreCodeGen.Core/Model/Solution.dbl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,6 +1221,8 @@ namespace HarmonyCoreGenerator.Model
12211221
result.CodeGenTasks.AddRange(genInstance.GenerateTasks(this))
12221222
end
12231223

1224+
result.CodeGenTasks.Reverse()
1225+
12241226
;;put back the structures we want to persist on disk
12251227
ExtendedStructures = originalStructures
12261228

0 commit comments

Comments
 (0)