diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-08-28 15:21:12 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-08-28 15:21:12 -0700 |
commit | 1ba81b0f57f965f390e09f40c5f70eb9931c7498 (patch) | |
tree | 1d9a10935897804d4c96a6de10baa1a475fb7463 /051scenario_test.mu | |
parent | fd6d8612edf07ea4a4612fd5263ad4250e06c77f (diff) | |
download | mu-1ba81b0f57f965f390e09f40c5f70eb9931c7498.tar.gz |
3270
Clean up the Globals section so that we can generate extern declarations for all globals out using this command after we carve it out into globals.cc: grep ';' globals.cc |perl -pwe 's/[=(].*/;/' |perl -pwe 's/^[^\/# ]/extern $&/' > globals.h The first perl command strips out initializers. The second prepends 'extern'. This simplistic approach requires each global definition to lie all on one line.
Diffstat (limited to '051scenario_test.mu')
0 files changed, 0 insertions, 0 deletions