diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-11-24 14:56:05 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-11-24 14:56:05 -0500 |
| commit | 5a25505668bac9aed0ad8f3b23fe81c6aff29b71 (patch) | |
| tree | bd5cea1c33ca7d272690f5c13f97a97612a7a3e6 /src/analyze.cpp | |
| parent | afbbdb2c67127985cadae7244348665ece8b2f25 (diff) | |
| download | zig-5a25505668bac9aed0ad8f3b23fe81c6aff29b71.tar.gz zig-5a25505668bac9aed0ad8f3b23fe81c6aff29b71.zip | |
rename "parsec" to "translate-c"
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index ebad9fe0cb..7a9df874d4 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -28,7 +28,7 @@ static void resolve_union_zero_bits(CodeGen *g, TypeTableEntry *union_type); ErrorMsg *add_node_error(CodeGen *g, AstNode *node, Buf *msg) { if (node->owner->c_import_node != nullptr) { - // if this happens, then parsec generated code that + // if this happens, then translate_c generated code that // failed semantic analysis, which isn't supposed to happen ErrorMsg *err = add_node_error(g, node->owner->c_import_node, buf_sprintf("compiler bug: @cImport generated invalid zig code")); @@ -48,7 +48,7 @@ ErrorMsg *add_node_error(CodeGen *g, AstNode *node, Buf *msg) { ErrorMsg *add_error_note(CodeGen *g, ErrorMsg *parent_msg, AstNode *node, Buf *msg) { if (node->owner->c_import_node != nullptr) { - // if this happens, then parsec generated code that + // if this happens, then translate_c generated code that // failed semantic analysis, which isn't supposed to happen Buf *note_path = buf_create_from_str("?.c"); |
