munificent / craftinginterpreters

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

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

Open SimonRalek opened 1 year ago

SimonRalek commented 1 year 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.