Skip to content

Commit

Permalink
if false
Browse files Browse the repository at this point in the history
  • Loading branch information
milahu committed Apr 2, 2023
1 parent aa12bc5 commit cb15b1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions database/sqlite3.ksy
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ instances:
size: header.page_size
repeat: expr
repeat-expr: header.num_pages
doc: |
"if false" is a workaround for lazy parsing of db.pages.
the main parser will parse only the first page as db.header
and the user is responsible to parse any further pages.
TODO how exactly? add example code
if: false
types:
database_header:
seq:
Expand Down

0 comments on commit cb15b1e

Please sign in to comment.