munificent / craftinginterpreters

Repository for the book "Crafting Interpreters"
http://www.craftinginterpreters.com/
Other
8.42k stars 1.01k forks source link

Fixed bug in answer to 23rd chaper 1. question #1147

Open SimonRalek opened 7 months ago

SimonRalek commented 7 months ago

The issue lies in your answer to question 1 in the 23rd chapter. The bug happens when there is not any default case where you forget to add jmp to the last case.