From 679cbe58c4e53f0163588a7731154f3afe2d25aa Mon Sep 17 00:00:00 2001 From: Adam Branes Date: Sun, 2 May 2021 17:46:29 +0300 Subject: lexer formed --- queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'queue.c') diff --git a/queue.c b/queue.c index 187519a..b395acf 100644 --- a/queue.c +++ b/queue.c @@ -24,7 +24,7 @@ void Queue_Push(struct Queue *q,void *data) struct Queue_Node *temp=malloc(sizeof(struct Queue_Node)); q->last->prev=temp; temp->data=data; - + temp->prev=NULL; q->last=temp; ++q->size; } -- cgit v1.2.3