Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/compiler.ml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let usage () =
print_endline "Usage : ocaml str.cma compiler.ml <asm file> <output file>"

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
Expand Down