aboutsummaryrefslogtreecommitdiff
path: root/src/id_table.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/id_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/id_table.c b/src/id_table.c
index e113c8f..0b4a93a 100644
--- a/src/id_table.c
+++ b/src/id_table.c
@@ -135,7 +135,7 @@ int IdTable_is_builtin_rule(Ast *agentL, Ast *agentR) {
}
if (idL == ID_APPEND) {
- if ((agentR->id == AST_CONS) || (agentR->id == AST_NIL)) {
+ if ((agentR->id == AST_OPCONS) || (agentR->id == AST_NIL)) {
return 1;
}
return 0;