Commit cffb2a8
authored
Do not permit empty binary/hexadecimal constants (#130)
Initially I wanted to support the syntax `#b`, but this was never
properly added and can be accomplished by `(eo::to_bin 0 0)`.
Currently we give an unintuitive error, this fixes this case.1 parent 5e09d99 commit cffb2a8
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
244 | 247 | | |
245 | 248 | | |
246 | 249 | | |
247 | | - | |
248 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
249 | 255 | | |
250 | 256 | | |
251 | 257 | | |
| |||
0 commit comments