Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skqp
/
dff7e11c2000d6745261de046d76b1500a05ece9
/
.
/
tools
/
lua
/
scrape.lua
blob: 1d9cda91fe5954800442d301e148c9302d091357 [
file
] [
log
] [
blame
]
canvas
=
{}
total
=
0
function
accumulate
(
verb
)
total
=
total
+
1
n
=
canvas
[
verb
]
or
0
n
=
n
+
1
canvas
[
verb
]
=
n
end
function
summarize
()
io
.
write
(
'total='
..
total
..
' '
)
for
k
,
v
in
next
,
canvas
do
io
.
write
(
k
..
'='
..
v
..
' '
)
end
end