aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-11-24 14:56:05 -0500
committerAndrew Kelley <superjoe30@gmail.com>2017-11-24 14:56:05 -0500
commit5a25505668bac9aed0ad8f3b23fe81c6aff29b71 (patch)
treebd5cea1c33ca7d272690f5c13f97a97612a7a3e6 /src/analyze.cpp
parentafbbdb2c67127985cadae7244348665ece8b2f25 (diff)
downloadzig-5a25505668bac9aed0ad8f3b23fe81c6aff29b71.tar.gz
zig-5a25505668bac9aed0ad8f3b23fe81c6aff29b71.zip
rename "parsec" to "translate-c"
Diffstat (limited to 'src/analyze.cpp')
-rw-r--r--src/analyze.cpp4
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");