diff --git a/compiler/compiler.ml b/compiler/compiler.ml index a9c93f7..2c3975e 100644 --- a/compiler/compiler.ml +++ b/compiler/compiler.ml @@ -18,7 +18,7 @@ let usage () = print_endline "Usage : ocaml str.cma compiler.ml " let error line msg = - Printf.printf "[Errror] Line %d : %s\n %s\n" line.num msg line.content; + Printf.printf "[Error] Line %d : %s\n %s\n" line.num msg line.content; exit 1 let opcode_to_int = function