FIXED: correctly reset counter in reset_gensym/2 (#1807)
Many thanks to @infradig for detecting this issue and suggesting this correction!
This commit is contained in:
@@ -28,4 +28,5 @@ gensym(Base, Unique) :-
|
|||||||
|
|
||||||
reset_gensym(Base) :-
|
reset_gensym(Base) :-
|
||||||
atom_si(Base),
|
atom_si(Base),
|
||||||
bb_put(Base, 0).
|
gensym_key(Base, BaseKey),
|
||||||
|
bb_put(BaseKey, 0).
|
||||||
|
|||||||
Reference in New Issue
Block a user