From: Jeremy C. <je...@co...> - 2008-06-13 20:15:56
|
Lewis, Matthew W. wrote: > I’ve just committed changes to use break instead of exit for a switch > statement. The trick here is that there are two switches in parser.e. > The easiest thing to do is to change them to if-elsif-else blocks > (they’re pretty short). Then it will build for you, and you can revert > to the switch blocks. > Matt, Why would it cause this error: ../int.ex:8 set_mode has not been declared set_mode( "interpret", 0 ) ^ I fixed the two switch statements and now it compiles, but before the two switch statement fixes, I got the above error. And that comes from using an incorrect keyword of break ? Jeremy |