diff --git a/src/backends/glr.c b/src/backends/glr.c index 864ecaac5601f8ea87fa67643b416e20c52128bc..f7b6f8b15ac41495a2cfb5c19cf787f81a3e8e4d 100644 --- a/src/backends/glr.c +++ b/src/backends/glr.c @@ -32,7 +32,7 @@ HLREngine *fork_engine(const HLREngine *engine) eng2->input = engine->input; // shallow-copy the stack - // this works because h_slist_push and h_slist_pop never modify + // this works because h_slist_push and h_slist_drop never modify // the underlying structure of HSlistNodes, only the head pointer. // in fact, this gives us prefix sharing for free. eng2->stack = h_arena_malloc(engine->tarena, sizeof(HSlist));