diff options
| author | nasr <nsrddyn@gmail.com> | 2026-03-05 22:42:55 +0000 |
|---|---|---|
| committer | nasr <nsrddyn@gmail.com> | 2026-03-05 22:42:55 +0000 |
| commit | d8c52d6c408a172f1210c77df3e3a9629ea68dc6 (patch) | |
| tree | 8125ad25c4b9a1a94d8a77b4daa19ca06479fc1d /source/storage/csv_reader.h | |
| parent | aa2bee82ac82ff47c6be84f2e6d39c690ec66a21 (diff) | |
feature(main): helper functions for lexing
refactor(main): helper script for testing to gitignore
Diffstat (limited to 'source/storage/csv_reader.h')
| -rw-r--r-- | source/storage/csv_reader.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/storage/csv_reader.h b/source/storage/csv_reader.h index 711499f..36e07a4 100644 --- a/source/storage/csv_reader.h +++ b/source/storage/csv_reader.h | |||
| @@ -23,8 +23,8 @@ struct csv_table | |||
| 23 | read_only global_variable | 23 | read_only global_variable |
| 24 | csv_row nil_csv_row = | 24 | csv_row nil_csv_row = |
| 25 | { | 25 | { |
| 26 | .fields = {NULL, 0}, | 26 | .fields = &nil_string, |
| 27 | .count = 0, | 27 | .count = 0, |
| 28 | }; | 28 | }; |
| 29 | 29 | ||
| 30 | 30 | ||
| @@ -32,8 +32,8 @@ csv_row nil_csv_row = | |||
| 32 | read_only global_variable | 32 | read_only global_variable |
| 33 | csv_table nil_csv_table = | 33 | csv_table nil_csv_table = |
| 34 | { | 34 | { |
| 35 | .string8 = {NULL, 0}, | 35 | .headers = &nil_string, |
| 36 | .csv_row = &nil_csv_row, | 36 | .rows = &nil_csv_row, |
| 37 | .col_count = 0, | 37 | .col_count = 0, |
| 38 | .row_count = 0, | 38 | .row_count = 0, |
| 39 | }; | 39 | }; |
