craftinginterpreters icon indicating copy to clipboard operation
craftinginterpreters copied to clipboard

Error compiling Fibonacci example

Open jthomas08 opened this issue 2 years ago • 0 comments

I downloaded c source from here and ran the Fibonacci example in chapter 24 on calls and functions and got compile time errors: [line 3] Error at '(': Expect ';' after return value. [line 6] Error at '(': Expect ';' after variable declaration. [line 7] Error at '(': Expect ';' after value. [line 8] Error at '(': Expect ';' after value.

any ideas?

jthomas08 avatar Aug 06 '22 17:08 jthomas08