mirror of
https://github.com/wader/fq.git
synced 2024-10-26 20:06:29 +03:00
luajit: typo
This commit is contained in:
parent
64c92da68b
commit
c42fb9e769
@ -299,7 +299,7 @@ func LuaJITDecodeDebug(d *decode.D, debuglen uint64, numbc uint64) {
|
||||
})
|
||||
|
||||
// TODO: find out more about how to decode these strings
|
||||
d.FieldArray("anotations", func(d *decode.D) {
|
||||
d.FieldArray("annotations", func(d *decode.D) {
|
||||
i := numbc
|
||||
for i < debuglen {
|
||||
str := d.FieldUTF8Null("value")
|
||||
|
4
format/luajit/testdata/simple.fqtest
vendored
4
format/luajit/testdata/simple.fqtest
vendored
@ -79,7 +79,7 @@ $ fq dv simple.luac
|
||||
0x040| 02| .| [4]: 2 value 0x4f-0x4f.7 (1)
|
||||
0x050|02 |. | [5]: 2 value 0x50-0x50.7 (1)
|
||||
0x050| 02 | . | [6]: 2 value 0x51-0x51.7 (1)
|
||||
| | | anotations[0:6]: 0x52-0x5e.7 (13)
|
||||
| | | annotations[0:6]: 0x52-0x5e.7 (13)
|
||||
0x050| 61 00 | a. | [0]: "a" value 0x52-0x53.7 (2)
|
||||
0x050| 62 00 | b. | [1]: "b" value 0x54-0x55.7 (2)
|
||||
0x050| 78 00 | x. | [2]: "x" value 0x56-0x57.7 (2)
|
||||
@ -277,7 +277,7 @@ $ fq dv simple.luac
|
||||
0x160| 21 | ! | [11]: 33 value 0x165-0x165.7 (1)
|
||||
0x160| 21 | ! | [12]: 33 value 0x166-0x166.7 (1)
|
||||
0x160| 21 | ! | [13]: 33 value 0x167-0x167.7 (1)
|
||||
| | | anotations[0:5]: 0x168-0x181.7 (26)
|
||||
| | | annotations[0:5]: 0x168-0x181.7 (26)
|
||||
0x160| 73 6f 6d 65 74 61 62 6c| sometabl| [0]: "sometable" value 0x168-0x171.7 (10)
|
||||
0x170|65 00 |e. |
|
||||
0x170| 02 0d 61 00 | ..a. | [1]: "\x02\ra" value 0x172-0x175.7 (4)
|
||||
|
Loading…
Reference in New Issue
Block a user