diff options
author | Bad Diode <bd@badd10de.dev> | 2021-10-12 14:54:22 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-10-12 14:54:22 +0200 |
commit | d90018ed10267dbf1f4c6f746b9f70460e1424a6 (patch) | |
tree | 48b0064d1ae196a8896bd3fef4bc10b434902e7f /src/bootstrap/lexer.c | |
parent | 3444b5b58a78c12a79365bb35e54cfa029fccd99 (diff) | |
download | bdl-d90018ed10267dbf1f4c6f746b9f70460e1424a6.tar.gz bdl-d90018ed10267dbf1f4c6f746b9f70460e1424a6.zip |
Add Object struct and constructor functions
Diffstat (limited to 'src/bootstrap/lexer.c')
-rw-r--r-- | src/bootstrap/lexer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bootstrap/lexer.c b/src/bootstrap/lexer.c index 49431d0..72df1ee 100644 --- a/src/bootstrap/lexer.c +++ b/src/bootstrap/lexer.c | |||
@@ -215,10 +215,10 @@ tokenize(const StringView *sv) { | |||
215 | } | 215 | } |
216 | if (!found) { | 216 | if (!found) { |
217 | error_push((Error){ | 217 | error_push((Error){ |
218 | .type = ERR_TYPE_LEXER, | 218 | .type = ERR_TYPE_LEXER, |
219 | .value = ERR_UNMATCHED_STRING, | 219 | .value = ERR_UNMATCHED_STRING, |
220 | .line = line, | 220 | .line = line, |
221 | .col = col, | 221 | .col = col, |
222 | }); | 222 | }); |
223 | return tokens; | 223 | return tokens; |
224 | } | 224 | } |