Commit 15e34088 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4e1cde26
...@@ -78,7 +78,7 @@ def main(): ...@@ -78,7 +78,7 @@ def main():
with open("testdata_expect.go", "w") as f: with open("testdata_expect.go", "w") as f:
def emit(v): def emit(v):
print >>f, v print >>f, v
emit("// DO NOT EDIT - AUTOGENERATED (by gen-testdata)") emit("// DO NOT EDIT - AUTOGENERATED (by py/gen-testdata)")
emit("package fs1\n") emit("package fs1\n")
emit("const _1fs_indexTopPos = %i" % stor._pos) emit("const _1fs_indexTopPos = %i" % stor._pos)
emit("var _1fs_indexEntryv = [...]indexEntry{") emit("var _1fs_indexEntryv = [...]indexEntry{")
......
// DO NOT EDIT - AUTOGENERATED (by gen-testdata) // DO NOT EDIT - AUTOGENERATED (by py/gen-testdata)
package fs1 package fs1
const _1fs_indexTopPos = 8917 const _1fs_indexTopPos = 8917
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment