Generate code for "mark in.dst".

The generated code is ugly and the language design is not finalized, but
the flate_backref_crosses_blocks test (testing a correctness bug) now
passes. We can fix the ugliness in subsequent commits.
This commit is contained in:
Nigel Tao committed 2017-10-22 14:44:53 +11:00
1 parent 83c8faef4d
commit 21bbbd422f
11 files changed
+107 -24

No files matched your search

+10
View File
@@ -82,11 +82,21 @@ typedef struct puffs_base__limit1 {
typedef struct {
puffs_base__buf1* buf;
puffs_base__limit1 limit;
// Do not access the private_impl's fields directly. There is no API/ABI
// compatibility or safety guarantee if you do so.
struct {
uint8_t* mark;
} private_impl;
} puffs_base__reader1;
typedef struct {
puffs_base__buf1* buf;
puffs_base__limit1 limit;
// Do not access the private_impl's fields directly. There is no API/ABI
// compatibility or safety guarantee if you do so.
struct {
uint8_t* mark;
} private_impl;
} puffs_base__writer1;
#endif // PUFFS_BASE_HEADER_H
+10
View File
@@ -82,11 +82,21 @@ typedef struct puffs_base__limit1 {
typedef struct {
puffs_base__buf1* buf;
puffs_base__limit1 limit;
// Do not access the private_impl's fields directly. There is no API/ABI
// compatibility or safety guarantee if you do so.
struct {
uint8_t* mark;
} private_impl;
} puffs_base__reader1;
typedef struct {
puffs_base__buf1* buf;
puffs_base__limit1 limit;
// Do not access the private_impl's fields directly. There is no API/ABI
// compatibility or safety guarantee if you do so.
struct {
uint8_t* mark;
} private_impl;
} puffs_base__writer1;
#endif // PUFFS_BASE_HEADER_H