From 22edfd7e7fd2d16c4bc0d754959e2d15287a45ff Mon Sep 17 00:00:00 2001 From: Bob Nystrom Date: Thu, 26 Feb 2015 07:37:10 -0800 Subject: [PATCH] Add note to comment. --- src/wren_compiler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wren_compiler.h b/src/wren_compiler.h index 16dbf94a..c1afcf6f 100644 --- a/src/wren_compiler.h +++ b/src/wren_compiler.h @@ -23,7 +23,8 @@ typedef struct sCompiler Compiler; // structures and destroy them after generating code. // Compiles [source], a string of Wren source code located in [module], to an -// [ObjFn] that will execute that code when invoked. +// [ObjFn] that will execute that code when invoked. Returns `NULL` if the +// source contains any syntax errors. ObjFn* wrenCompile(WrenVM* vm, ObjModule* module, const char* sourcePath, const char* source);