about summary refs log tree commit diff stats
path: root/031merge.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-28 15:21:12 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-28 15:21:12 -0700
commit1ba81b0f57f965f390e09f40c5f70eb9931c7498 (patch)
tree1d9a10935897804d4c96a6de10baa1a475fb7463 /031merge.cc
parentfd6d8612edf07ea4a4612fd5263ad4250e06c77f (diff)
downloadmu-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 '031merge.cc')
0 files changed, 0 insertions, 0 deletions
'>^
f3881db1 ^

d339004f ^



bee708c9 ^
d2be6929 ^
3c82fb28 ^


f8de2823 ^
5792cd59 ^
5ce97728 ^
270ac035 ^
5792cd59 ^
270ac035 ^


5ce97728 ^


f8de2823 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60