diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 14:15:39 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-17 14:15:39 -0700 |
commit | 59085fca6083a08f67911a35c02f012c19d7df48 (patch) | |
tree | 823993d55b573e1485feee4a5d5716d59e483fd4 /018type_abbreviations.cc | |
parent | 3d8b137c879c6f5c01588c2dbbb35bc0ec028909 (diff) | |
download | mu-59085fca6083a08f67911a35c02f012c19d7df48.tar.gz |
3392
Bugfix for the "remaining bug" mentioned in commit 3391.
Diffstat (limited to '018type_abbreviations.cc')
-rw-r--r-- | 018type_abbreviations.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/018type_abbreviations.cc b/018type_abbreviations.cc index f7fd0592..1f33a5a6 100644 --- a/018type_abbreviations.cc +++ b/018type_abbreviations.cc @@ -164,7 +164,10 @@ Transform.push_back(expand_type_abbreviations); // idempotent :(code) void expand_type_abbreviations(const recipe_ordinal r) { - const recipe& caller = get(Recipe, r); + expand_type_abbreviations(get(Recipe, r)); +} + +void expand_type_abbreviations(const recipe& caller) { trace(9991, "transform") << "--- expand type abbreviations in recipe '" << caller.name << "'" << end(); for (int i = 0; i < SIZE(caller.steps); ++i) { const instruction& inst = caller.steps.at(i); |