-
Notifications
You must be signed in to change notification settings - Fork 35
Commit 220b6ef
committed
Remove preferences dependency from USourceGen unit
Modified TSourceGen.UnitAsString to get information aboute compiler
warnings via a new parameters instead of from the Preferences object.
This was the only dependency on the Preferences object in the unit.
Calling code was modified to pass the required warnings to
TSourceGen.UnitAsString as a parameter. This calling code now gets the
value from the preferences object.
Fixes #167 1 parent b25393c commit 220b6ef
3 files changed
+27
-10
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
217 | 217 |
| |
218 | 218 |
| |
219 | 219 |
| |
220 | + | ||
220 | 221 |
| |
221 | 222 |
| |
222 | 223 |
| |
|
Lines changed: 18 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 | - | ||
21 | + | ||
22 | + | ||
22 | 23 |
| |
23 | - | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
24 | 29 |
| |
25 | 30 |
| |
26 | 31 |
| |
| |||
211 | 216 |
| |
212 | 217 |
| |
213 | 218 |
| |
214 | - | ||
219 | + | ||
215 | 220 |
| |
216 | 221 |
| |
217 | 222 |
| |
| |||
255 | 260 |
| |
256 | 261 |
| |
257 | 262 |
| |
258 | - | ||
263 | + | ||
264 | + | ||
259 | 265 |
| |
260 | - | ||
261 | - | ||
266 | + | ||
267 | + | ||
268 | + | ||
269 | + | ||
270 | + | ||
271 | + | ||
272 | + | ||
262 | 273 |
| |
263 | 274 |
| |
264 | 275 |
| |
| |||
588 | 599 |
| |
589 | 600 |
| |
590 | 601 |
| |
602 | + | ||
591 | 603 |
| |
592 | 604 |
| |
593 | 605 |
| |
594 | 606 |
| |
595 | 607 |
| |
596 | 608 |
| |
597 | 609 |
| |
598 | - | ||
599 | 610 |
| |
600 | 611 |
| |
601 | 612 |
| |
| |||
620 | 631 |
| |
621 | 632 |
| |
622 | 633 |
| |
623 | - | ||
624 | 634 |
| |
625 | 635 |
| |
626 | 636 |
| |
|
Lines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 | - | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
69 | 75 |
| |
70 | 76 |
| |
71 | 77 |
| |
| |||
89 | 95 |
| |
90 | 96 |
| |
91 | 97 |
| |
92 | - | ||
98 | + | ||
93 | 99 |
| |
94 | 100 |
| |
95 | 101 |
| |
|
0 commit comments