diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2015-12-01 02:29:21 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2015-12-01 02:29:21 -0700 |
| commit | dfb6682089ad758b7ba72733778a9aa8c544c164 (patch) | |
| tree | c86a7a8bff35db1188a4b644a715caff6a5be92c /src/analyze.cpp | |
| parent | 58e375d0a1423c04f4d3faabe4d84bfc11028d56 (diff) | |
| download | zig-dfb6682089ad758b7ba72733778a9aa8c544c164.tar.gz zig-dfb6682089ad758b7ba72733778a9aa8c544c164.zip | |
add test for bad import
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index d7d5aeb5b0..5239835f0f 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -11,7 +11,7 @@ #include "zig_llvm.hpp" #include "os.hpp" -static void add_node_error(CodeGen *g, AstNode *node, Buf *msg) { +void add_node_error(CodeGen *g, AstNode *node, Buf *msg) { ErrorMsg *err = allocate<ErrorMsg>(1); err->line_start = node->line; err->column_start = node->column; |
