Gavin Howard | 5715b04 | 2018-02-12 16:11:42 -0700 | [diff] [blame] | 1 | /* |
Gavin Howard | b5904bf | 2018-02-20 13:28:18 -0700 | [diff] [blame] | 2 | * ***************************************************************************** |
Gavin Howard | 5715b04 | 2018-02-12 16:11:42 -0700 | [diff] [blame] | 3 | * |
Gavin Howard | 29e00ba | 2020-06-30 09:25:21 -0600 | [diff] [blame^] | 4 | * SPDX-License-Identifier: BSD-2-Clause |
| 5 | * |
Zach van Rijn | 6d2cf3f | 2020-01-14 22:05:02 +0000 | [diff] [blame] | 6 | * Copyright (c) 2018-2020 Gavin D. Howard and contributors. |
Gavin Howard | 5715b04 | 2018-02-12 16:11:42 -0700 | [diff] [blame] | 7 | * |
Gavin Howard | 7345cb9 | 2019-04-08 14:13:43 -0600 | [diff] [blame] | 8 | * All rights reserved. |
Gavin Howard | 5715b04 | 2018-02-12 16:11:42 -0700 | [diff] [blame] | 9 | * |
Gavin Howard | 7345cb9 | 2019-04-08 14:13:43 -0600 | [diff] [blame] | 10 | * Redistribution and use in source and binary forms, with or without |
| 11 | * modification, are permitted provided that the following conditions are met: |
| 12 | * |
| 13 | * * Redistributions of source code must retain the above copyright notice, this |
| 14 | * list of conditions and the following disclaimer. |
| 15 | * |
| 16 | * * Redistributions in binary form must reproduce the above copyright notice, |
| 17 | * this list of conditions and the following disclaimer in the documentation |
| 18 | * and/or other materials provided with the distribution. |
| 19 | * |
| 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 21 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 22 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 23 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
| 24 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 25 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 26 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 27 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 28 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 29 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 30 | * POSSIBILITY OF SUCH DAMAGE. |
Gavin Howard | 5715b04 | 2018-02-12 16:11:42 -0700 | [diff] [blame] | 31 | * |
Gavin Howard | b5904bf | 2018-02-20 13:28:18 -0700 | [diff] [blame] | 32 | * ***************************************************************************** |
Gavin Howard | 5715b04 | 2018-02-12 16:11:42 -0700 | [diff] [blame] | 33 | * |
Gavin Howard | d2a0525 | 2018-09-27 14:00:40 -0600 | [diff] [blame] | 34 | * Common code for the lexers. |
Gavin Howard | 5715b04 | 2018-02-12 16:11:42 -0700 | [diff] [blame] | 35 | * |
| 36 | */ |
| 37 | |
Gavin Howard | 27fdfb9 | 2018-03-21 07:56:59 -0600 | [diff] [blame] | 38 | #include <assert.h> |
Gavin Howard | 8a596d4 | 2018-01-15 15:46:01 -0700 | [diff] [blame] | 39 | #include <ctype.h> |
| 40 | #include <stdbool.h> |
Gavin Howard | 8a596d4 | 2018-01-15 15:46:01 -0700 | [diff] [blame] | 41 | #include <string.h> |
| 42 | |
Gavin Howard | 2949306 | 2018-03-20 19:57:37 -0600 | [diff] [blame] | 43 | #include <status.h> |
Gavin Howard | 3ba6c8d | 2018-02-15 12:23:35 -0700 | [diff] [blame] | 44 | #include <lex.h> |
Gavin Howard | d555167 | 2018-09-22 19:52:42 -0600 | [diff] [blame] | 45 | #include <vm.h> |
Gavin Howard | a652788 | 2019-02-19 20:23:17 -0700 | [diff] [blame] | 46 | #include <bc.h> |
Gavin Howard | 8a596d4 | 2018-01-15 15:46:01 -0700 | [diff] [blame] | 47 | |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 48 | void bc_lex_invalidChar(BcLex *l, char c) { |
Gavin Howard | 50c8c2d | 2018-12-27 11:58:34 -0700 | [diff] [blame] | 49 | l->t = BC_LEX_INVALID; |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 50 | bc_lex_verr(l, BC_ERROR_PARSE_CHAR, c); |
Gavin Howard | 50c8c2d | 2018-12-27 11:58:34 -0700 | [diff] [blame] | 51 | } |
| 52 | |
Gavin Howard | ed5c831 | 2018-09-27 12:04:08 -0600 | [diff] [blame] | 53 | void bc_lex_lineComment(BcLex *l) { |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 54 | l->t = BC_LEX_WHITESPACE; |
Gavin Howard | 5c14da6 | 2019-02-16 23:47:48 -0700 | [diff] [blame] | 55 | while (l->i < l->len && l->buf[l->i] != '\n') l->i += 1; |
Gavin Howard | ed5c831 | 2018-09-27 12:04:08 -0600 | [diff] [blame] | 56 | } |
| 57 | |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 58 | void bc_lex_comment(BcLex *l) { |
Gavin Howard | 52446f2 | 2018-12-13 11:39:22 -0700 | [diff] [blame] | 59 | |
| 60 | size_t i, nlines = 0; |
| 61 | const char *buf = l->buf; |
| 62 | bool end = false; |
| 63 | char c; |
| 64 | |
Gavin Howard | 5c14da6 | 2019-02-16 23:47:48 -0700 | [diff] [blame] | 65 | l->i += 1; |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 66 | l->t = BC_LEX_WHITESPACE; |
Gavin Howard | 52446f2 | 2018-12-13 11:39:22 -0700 | [diff] [blame] | 67 | |
Gavin Howard | 5c14da6 | 2019-02-16 23:47:48 -0700 | [diff] [blame] | 68 | for (i = l->i; !end; i += !end) { |
Gavin Howard | 52446f2 | 2018-12-13 11:39:22 -0700 | [diff] [blame] | 69 | |
Gavin Howard | 1ab22d2 | 2019-01-03 13:32:17 -0700 | [diff] [blame] | 70 | for (; (c = buf[i]) && c != '*'; ++i) nlines += (c == '\n'); |
Gavin Howard | 52446f2 | 2018-12-13 11:39:22 -0700 | [diff] [blame] | 71 | |
Gavin Howard | ecafd4f | 2019-02-23 09:30:45 -0700 | [diff] [blame] | 72 | if (BC_ERR(!c || buf[i + 1] == '\0')) { |
Gavin Howard | 52446f2 | 2018-12-13 11:39:22 -0700 | [diff] [blame] | 73 | l->i = i; |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 74 | bc_lex_err(l, BC_ERROR_PARSE_COMMENT); |
Gavin Howard | 52446f2 | 2018-12-13 11:39:22 -0700 | [diff] [blame] | 75 | } |
| 76 | |
| 77 | end = buf[i + 1] == '/'; |
| 78 | } |
| 79 | |
| 80 | l->i = i + 2; |
| 81 | l->line += nlines; |
Gavin Howard | 52446f2 | 2018-12-13 11:39:22 -0700 | [diff] [blame] | 82 | } |
| 83 | |
Gavin Howard | 364df3b | 2018-09-28 09:48:19 -0600 | [diff] [blame] | 84 | void bc_lex_whitespace(BcLex *l) { |
| 85 | char c; |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 86 | l->t = BC_LEX_WHITESPACE; |
Gavin Howard | 53eba8b | 2018-10-31 15:14:37 -0600 | [diff] [blame] | 87 | for (c = l->buf[l->i]; c != '\n' && isspace(c); c = l->buf[++l->i]); |
Gavin Howard | 364df3b | 2018-09-28 09:48:19 -0600 | [diff] [blame] | 88 | } |
| 89 | |
Gavin Howard | 3ae1f8e | 2019-02-15 11:56:25 -0700 | [diff] [blame] | 90 | void bc_lex_commonTokens(BcLex *l, char c) { |
| 91 | if (!c) l->t = BC_LEX_EOF; |
| 92 | else if (c == '\n') l->t = BC_LEX_NLINE; |
| 93 | else bc_lex_whitespace(l); |
| 94 | } |
| 95 | |
Gavin Howard | 7ad5a66 | 2019-02-19 14:40:46 -0700 | [diff] [blame] | 96 | static size_t bc_lex_num(BcLex *l, char start, bool int_only) { |
Gavin Howard | 8a596d4 | 2018-01-15 15:46:01 -0700 | [diff] [blame] | 97 | |
Gavin Howard | 53eba8b | 2018-10-31 15:14:37 -0600 | [diff] [blame] | 98 | const char *buf = l->buf + l->i; |
Gavin Howard | 8dd307e | 2019-01-08 23:05:19 -0700 | [diff] [blame] | 99 | size_t i; |
Gavin Howard | 7ad5a66 | 2019-02-19 14:40:46 -0700 | [diff] [blame] | 100 | char c; |
Gavin Howard | 94f1410 | 2019-01-11 09:39:57 -0700 | [diff] [blame] | 101 | bool last_pt, pt = (start == '.'); |
Gavin Howard | f2a4049 | 2018-03-05 11:27:29 -0700 | [diff] [blame] | 102 | |
Gavin Howard | 7ad5a66 | 2019-02-19 14:40:46 -0700 | [diff] [blame] | 103 | for (i = 0; (c = buf[i]) && (BC_LEX_NUM_CHAR(c, pt, int_only) || |
Gavin Howard | 8dd307e | 2019-01-08 23:05:19 -0700 | [diff] [blame] | 104 | (c == '\\' && buf[i + 1] == '\n')); ++i) |
| 105 | { |
Gavin Howard | 25f6088 | 2019-01-11 09:20:51 -0700 | [diff] [blame] | 106 | if (c == '\\') { |
| 107 | |
| 108 | if (buf[i + 1] == '\n') { |
| 109 | |
| 110 | i += 2; |
| 111 | |
| 112 | // Make sure to eat whitespace at the beginning of the line. |
Gavin Howard | 7ad5a66 | 2019-02-19 14:40:46 -0700 | [diff] [blame] | 113 | while(isspace(buf[i]) && buf[i] != '\n') i += 1; |
Gavin Howard | 25f6088 | 2019-01-11 09:20:51 -0700 | [diff] [blame] | 114 | |
| 115 | c = buf[i]; |
| 116 | |
Gavin Howard | 7ad5a66 | 2019-02-19 14:40:46 -0700 | [diff] [blame] | 117 | if (!BC_LEX_NUM_CHAR(c, pt, int_only)) break; |
Gavin Howard | 25f6088 | 2019-01-11 09:20:51 -0700 | [diff] [blame] | 118 | } |
| 119 | else break; |
Gavin Howard | 6373820 | 2018-09-26 15:34:20 -0600 | [diff] [blame] | 120 | } |
Gavin Howard | 8dd307e | 2019-01-08 23:05:19 -0700 | [diff] [blame] | 121 | |
Gavin Howard | 94f1410 | 2019-01-11 09:39:57 -0700 | [diff] [blame] | 122 | last_pt = (c == '.'); |
Gavin Howard | 25f6088 | 2019-01-11 09:20:51 -0700 | [diff] [blame] | 123 | if (pt && last_pt) break; |
Gavin Howard | 94f1410 | 2019-01-11 09:39:57 -0700 | [diff] [blame] | 124 | pt = pt || last_pt; |
Gavin Howard | 07732ec | 2018-02-27 15:40:02 -0700 | [diff] [blame] | 125 | |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 126 | bc_vec_push(&l->str, &c); |
Gavin Howard | 6373820 | 2018-09-26 15:34:20 -0600 | [diff] [blame] | 127 | } |
Gavin Howard | 07732ec | 2018-02-27 15:40:02 -0700 | [diff] [blame] | 128 | |
Gavin Howard | 7ad5a66 | 2019-02-19 14:40:46 -0700 | [diff] [blame] | 129 | return i; |
| 130 | } |
| 131 | |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 132 | void bc_lex_number(BcLex *l, char start) { |
Gavin Howard | 7ad5a66 | 2019-02-19 14:40:46 -0700 | [diff] [blame] | 133 | |
| 134 | l->t = BC_LEX_NUMBER; |
| 135 | |
| 136 | bc_vec_npop(&l->str, l->str.len); |
| 137 | bc_vec_push(&l->str, &start); |
| 138 | |
| 139 | l->i += bc_lex_num(l, start, false); |
Gavin Howard | a652788 | 2019-02-19 20:23:17 -0700 | [diff] [blame] | 140 | |
Gavin Howard | 7ad5a66 | 2019-02-19 14:40:46 -0700 | [diff] [blame] | 141 | #if BC_ENABLE_EXTRA_MATH |
| 142 | { |
| 143 | char c = l->buf[l->i]; |
| 144 | |
| 145 | if (c == 'e') { |
| 146 | |
Gavin Howard | a652788 | 2019-02-19 20:23:17 -0700 | [diff] [blame] | 147 | #if BC_ENABLED |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 148 | if (BC_IS_POSIX) bc_lex_err(l, BC_ERROR_POSIX_EXP_NUM); |
Gavin Howard | a652788 | 2019-02-19 20:23:17 -0700 | [diff] [blame] | 149 | #endif // BC_ENABLED |
| 150 | |
Gavin Howard | 7ad5a66 | 2019-02-19 14:40:46 -0700 | [diff] [blame] | 151 | bc_vec_push(&l->str, &c); |
| 152 | l->i += 1; |
| 153 | c = l->buf[l->i]; |
| 154 | |
| 155 | if (c == BC_LEX_NEG_CHAR) { |
| 156 | bc_vec_push(&l->str, &c); |
| 157 | l->i += 1; |
| 158 | c = l->buf[l->i]; |
| 159 | } |
| 160 | |
Gavin Howard | ecafd4f | 2019-02-23 09:30:45 -0700 | [diff] [blame] | 161 | if (BC_ERR(!BC_LEX_NUM_CHAR(c, false, true))) |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 162 | bc_lex_verr(l, BC_ERROR_PARSE_CHAR, c); |
Gavin Howard | 7ad5a66 | 2019-02-19 14:40:46 -0700 | [diff] [blame] | 163 | |
| 164 | l->i += bc_lex_num(l, 0, true); |
| 165 | } |
| 166 | } |
| 167 | #endif // BC_ENABLE_EXTRA_MATH |
| 168 | |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 169 | bc_vec_pushByte(&l->str, '\0'); |
Gavin Howard | 8a596d4 | 2018-01-15 15:46:01 -0700 | [diff] [blame] | 170 | } |
| 171 | |
Gavin Howard | 5c14da6 | 2019-02-16 23:47:48 -0700 | [diff] [blame] | 172 | void bc_lex_name(BcLex *l) { |
Gavin Howard | 8412ba8 | 2018-10-04 13:03:24 -0600 | [diff] [blame] | 173 | |
Gavin Howard | 88c2530 | 2018-10-17 13:32:23 -0600 | [diff] [blame] | 174 | size_t i = 0; |
Gavin Howard | 53eba8b | 2018-10-31 15:14:37 -0600 | [diff] [blame] | 175 | const char *buf = l->buf + l->i - 1; |
Gavin Howard | 88c2530 | 2018-10-17 13:32:23 -0600 | [diff] [blame] | 176 | char c = buf[i]; |
Gavin Howard | 8412ba8 | 2018-10-04 13:03:24 -0600 | [diff] [blame] | 177 | |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 178 | l->t = BC_LEX_NAME; |
Gavin Howard | 8412ba8 | 2018-10-04 13:03:24 -0600 | [diff] [blame] | 179 | |
Gavin Howard | 9a4b6cd | 2018-10-23 15:13:30 -0600 | [diff] [blame] | 180 | while ((c >= 'a' && c <= 'z') || isdigit(c) || c == '_') c = buf[++i]; |
Gavin Howard | 8412ba8 | 2018-10-04 13:03:24 -0600 | [diff] [blame] | 181 | |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 182 | bc_vec_string(&l->str, i, buf); |
Gavin Howard | 8412ba8 | 2018-10-04 13:03:24 -0600 | [diff] [blame] | 183 | |
| 184 | // Increment the index. We minus 1 because it has already been incremented. |
Gavin Howard | 53eba8b | 2018-10-31 15:14:37 -0600 | [diff] [blame] | 185 | l->i += i - 1; |
Gavin Howard | 8412ba8 | 2018-10-04 13:03:24 -0600 | [diff] [blame] | 186 | } |
| 187 | |
Gavin Howard | 48354e8 | 2019-01-02 18:15:56 -0700 | [diff] [blame] | 188 | void bc_lex_init(BcLex *l) { |
Gavin Howard | bbd6f55 | 2020-05-22 19:39:13 -0600 | [diff] [blame] | 189 | BC_SIG_ASSERT_LOCKED; |
Gavin Howard | fe9a302 | 2019-06-21 20:40:45 -0600 | [diff] [blame] | 190 | assert(l != NULL); |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 191 | bc_vec_init(&l->str, sizeof(char), NULL); |
Gavin Howard | 6918504 | 2018-09-10 15:46:20 -0600 | [diff] [blame] | 192 | } |
| 193 | |
Gavin Howard | 6373820 | 2018-09-26 15:34:20 -0600 | [diff] [blame] | 194 | void bc_lex_free(BcLex *l) { |
Gavin Howard | bbd6f55 | 2020-05-22 19:39:13 -0600 | [diff] [blame] | 195 | BC_SIG_ASSERT_LOCKED; |
Gavin Howard | fe9a302 | 2019-06-21 20:40:45 -0600 | [diff] [blame] | 196 | assert(l != NULL); |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 197 | bc_vec_free(&l->str); |
Gavin Howard | 6918504 | 2018-09-10 15:46:20 -0600 | [diff] [blame] | 198 | } |
| 199 | |
Gavin Howard | 6373820 | 2018-09-26 15:34:20 -0600 | [diff] [blame] | 200 | void bc_lex_file(BcLex *l, const char *file) { |
Gavin Howard | fe9a302 | 2019-06-21 20:40:45 -0600 | [diff] [blame] | 201 | assert(l != NULL && file != NULL); |
Gavin Howard | 6373820 | 2018-09-26 15:34:20 -0600 | [diff] [blame] | 202 | l->line = 1; |
Gavin Howard | 3e9a844 | 2020-05-15 13:27:18 -0600 | [diff] [blame] | 203 | vm.file = file; |
Gavin Howard | 8a596d4 | 2018-01-15 15:46:01 -0700 | [diff] [blame] | 204 | } |
| 205 | |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 206 | void bc_lex_next(BcLex *l) { |
Gavin Howard | 364df3b | 2018-09-28 09:48:19 -0600 | [diff] [blame] | 207 | |
Gavin Howard | fe9a302 | 2019-06-21 20:40:45 -0600 | [diff] [blame] | 208 | assert(l != NULL); |
Gavin Howard | 364df3b | 2018-09-28 09:48:19 -0600 | [diff] [blame] | 209 | |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 210 | l->last = l->t; |
Gavin Howard | 5615879 | 2019-01-14 12:03:14 -0700 | [diff] [blame] | 211 | l->line += (l->i != 0 && l->buf[l->i - 1] == '\n'); |
Gavin Howard | 7536dcf | 2018-12-15 19:27:09 -0700 | [diff] [blame] | 212 | |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 213 | if (BC_ERR(l->last == BC_LEX_EOF)) bc_lex_err(l, BC_ERROR_PARSE_EOF); |
Gavin Howard | 364df3b | 2018-09-28 09:48:19 -0600 | [diff] [blame] | 214 | |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 215 | l->t = BC_LEX_EOF; |
Gavin Howard | c39fd49 | 2018-10-04 10:07:03 -0600 | [diff] [blame] | 216 | |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 217 | if (l->i == l->len) return; |
Gavin Howard | 364df3b | 2018-09-28 09:48:19 -0600 | [diff] [blame] | 218 | |
Gavin Howard | 364df3b | 2018-09-28 09:48:19 -0600 | [diff] [blame] | 219 | // Loop until failure or we don't have whitespace. This |
| 220 | // is so the parser doesn't get inundated with whitespace. |
Gavin Howard | 53eba8b | 2018-10-31 15:14:37 -0600 | [diff] [blame] | 221 | do { |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 222 | vm.next(l); |
| 223 | } while (l->t == BC_LEX_WHITESPACE); |
Gavin Howard | 3575392 | 2018-03-21 19:22:08 -0600 | [diff] [blame] | 224 | } |
Gavin Howard | c9a9c47 | 2018-10-02 17:23:01 -0600 | [diff] [blame] | 225 | |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 226 | void bc_lex_text(BcLex *l, const char *text) { |
Gavin Howard | fe9a302 | 2019-06-21 20:40:45 -0600 | [diff] [blame] | 227 | assert(l != NULL && text != NULL); |
Gavin Howard | 890d0c0 | 2018-10-30 16:34:50 -0600 | [diff] [blame] | 228 | l->buf = text; |
Gavin Howard | 53eba8b | 2018-10-31 15:14:37 -0600 | [diff] [blame] | 229 | l->i = 0; |
Gavin Howard | c9a9c47 | 2018-10-02 17:23:01 -0600 | [diff] [blame] | 230 | l->len = strlen(text); |
Gavin Howard | ad47731 | 2018-12-24 15:51:35 -0700 | [diff] [blame] | 231 | l->t = l->last = BC_LEX_INVALID; |
Gavin Howard | 5a32189 | 2020-05-16 17:27:55 -0600 | [diff] [blame] | 232 | bc_lex_next(l); |
Gavin Howard | c9a9c47 | 2018-10-02 17:23:01 -0600 | [diff] [blame] | 233 | } |