Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d3a0d2 commit 93b4b88Copy full SHA for 93b4b88
2 files changed
Misc/ACKS
@@ -143,6 +143,7 @@ Yves Dionne
143
Daniel Dittmar
144
Walter D�rwald
145
Jaromir Dolecek
146
+Dima Dorfman
147
Cesar Douady
148
Dean Draayer
149
Fred L. Drake, Jr.
Parser/acceler.c
@@ -69,6 +69,10 @@ fixstate(grammar *g, state *s)
69
int nl = g->g_ll.ll_nlabels;
70
s->s_accept = 0;
71
accel = (int *) PyObject_MALLOC(nl * sizeof(int));
72
+ if (accel == NULL) {
73
+ fprintf(stderr, "no mem to build parser accelerators\n");
74
+ exit(1);
75
+ }
76
for (k = 0; k < nl; k++)
77
accel[k] = -1;
78
a = s->s_arc;
0 commit comments