Home
last modified time | relevance | path

Searched refs:ngotos (Results 1 – 20 of 20) sorted by relevance

/dports/devel/bison/bison-3.7.6/src/
H A Dlalr.c45 goto_number ngotos = 0; variable
103 ngotos = 0; in set_goto_map()
109 ngotos++; in set_goto_map()
128 goto_map[nsyms - ntokens] = ngotos; in set_goto_map()
129 temp_map[nsyms - ntokens] = ngotos; in set_goto_map()
149 for (int i = 0; i < ngotos; ++i) in set_goto_map()
182 for (goto_number i = 0; i < ngotos; ++i) in follows_print()
205 for (goto_number i = 0; i < ngotos; ++i) in initialize_goto_follows()
221 assert (nedges < ngotos); in initialize_goto_follows()
405 relation_transpose (&includes, ngotos); in build_relations()
[all …]
H A Dielr.c130 *edgesp = xnmalloc (ngotos, sizeof **edgesp); in ielr_compute_internal_follow_edges()
131 *edge_countsp = xnmalloc (ngotos, sizeof **edge_countsp); in ielr_compute_internal_follow_edges()
133 bitset sources = bitset_create (ngotos, BITSET_FIXED); in ielr_compute_internal_follow_edges()
134 for (goto_number i = 0; i < ngotos; ++i) in ielr_compute_internal_follow_edges()
136 for (goto_number i = 0; i < ngotos; ++i) in ielr_compute_internal_follow_edges()
197 relation_transpose (edgesp, ngotos); in ielr_compute_internal_follow_edges()
231 for (goto_number i = 0; i < ngotos; ++i) in ielr_compute_follow_kernel_items()
272 *always_followsp = bitsetv_create (ngotos, ntokens, BITSET_FIXED); in ielr_compute_always_follows()
275 for (goto_number i = 0; i < ngotos; ++i) in ielr_compute_always_follows()
301 relation_digraph (*edgesp, ngotos, *always_followsp); in ielr_compute_always_follows()
[all …]
H A Dlalr.h91 extern goto_number ngotos;
/dports/lang/ocaml/ocaml-4.05.0/yacc/
H A Dlalr.c44 static int ngotos; variable
211 ngotos = 0; in set_goto_map()
223 ngotos++; in set_goto_map()
238 goto_map[nsyms] = ngotos; in set_goto_map()
239 temp_map[nsyms] = ngotos; in set_goto_map()
317 for (i = 0; i < ngotos; i++) in initialize_F()
359 for (i = 0; i < ngotos; i++) in initialize_F()
395 for (i = 0; i < ngotos; i++) in build_relations()
450 for (i = 0; i < ngotos; i++) in build_relations()
589 infinity = ngotos + 2; in digraph()
[all …]
/dports/devel/byaccj/byaccj1.15/src/
H A Dlalr.c27 static int ngotos; variable
177 ngotos = 0; in set_goto_map()
186 if (ngotos == MAXSHORT) in set_goto_map()
189 ngotos++; in set_goto_map()
204 goto_map[nsyms] = ngotos; in set_goto_map()
205 temp_map[nsyms] = ngotos; in set_goto_map()
280 for (i = 0; i < ngotos; i++) in initialize_F()
322 for (i = 0; i < ngotos; i++) in initialize_F()
358 for (i = 0; i < ngotos; i++) in build_relations()
413 for (i = 0; i < ngotos; i++) in build_relations()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/jay/
H A Dlalr.c67 static int ngotos; variable
218 ngotos = 0; in set_goto_map()
227 if (ngotos == MAXSHORT) in set_goto_map()
230 ngotos++; in set_goto_map()
245 goto_map[nsyms] = ngotos; in set_goto_map()
246 temp_map[nsyms] = ngotos; in set_goto_map()
326 for (i = 0; i < ngotos; i++) in initialize_F()
368 for (i = 0; i < ngotos; i++) in initialize_F()
404 for (i = 0; i < ngotos; i++) in build_relations()
459 for (i = 0; i < ngotos; i++) in build_relations()
[all …]
/dports/devel/cscout/cscout-bd7dfac/btyacc/
H A Dlalr.c25 static int ngotos; variable
176 ngotos = 0; in set_goto_map()
185 if (ngotos == INT_MAX) in set_goto_map()
188 ngotos++; in set_goto_map()
203 goto_map[nsyms] = ngotos; in set_goto_map()
204 temp_map[nsyms] = ngotos; in set_goto_map()
281 for (i = 0; i < ngotos; i++) in initialize_F()
323 for (i = 0; i < ngotos; i++) in initialize_F()
359 for (i = 0; i < ngotos; i++) in build_relations()
414 for (i = 0; i < ngotos; i++) in build_relations()
[all …]
/dports/lang/mosml/mosml-ver-2.10.1/src/mosmlyac/
H A Dlalr.c27 static int ngotos; variable
193 ngotos = 0; in set_goto_map()
202 if (ngotos == MAXSHORT) in set_goto_map()
205 ngotos++; in set_goto_map()
220 goto_map[nsyms] = ngotos; in set_goto_map()
221 temp_map[nsyms] = ngotos; in set_goto_map()
298 for (i = 0; i < ngotos; i++) in initialize_F()
340 for (i = 0; i < ngotos; i++) in initialize_F()
376 for (i = 0; i < ngotos; i++) in build_relations()
431 for (i = 0; i < ngotos; i++) in build_relations()
[all …]
/dports/lang/ocaml-nox11/ocaml-4.05.0/yacc/
H A Dlalr.c44 static int ngotos; variable
211 ngotos = 0; in set_goto_map()
223 ngotos++; in set_goto_map()
238 goto_map[nsyms] = ngotos; in set_goto_map()
239 temp_map[nsyms] = ngotos; in set_goto_map()
317 for (i = 0; i < ngotos; i++) in initialize_F()
359 for (i = 0; i < ngotos; i++) in initialize_F()
395 for (i = 0; i < ngotos; i++) in build_relations()
450 for (i = 0; i < ngotos; i++) in build_relations()
589 infinity = ngotos + 2; in digraph()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/external/bsd/byacc/dist/
H A Dlalr.c48 static int ngotos; variable
198 ngotos = 0; in set_goto_map()
208 if (ngotos == MAXYYINT) in set_goto_map()
211 ngotos++; in set_goto_map()
303 for (i = 0; i < ngotos; i++) in initialize_F()
345 for (i = 0; i < ngotos; i++) in initialize_F()
380 for (i = 0; i < ngotos; i++) in build_relations()
437 for (i = 0; i < ngotos; i++) in build_relations()
580 for (i = 0; i < ngotos; i++) in digraph()
583 for (i = 0; i < ngotos; i++) in digraph()
[all …]
/dports/audio/denemo/denemo-2.0.6/actions/
H A Dlalr.scm233 (define ngotos #f)
308 (set! ngotos #f)
798 (set! ngotos ng)
799 (vector-set! goto-map nvars ngotos)
800 (vector-set! temp-map nvars ngotos)
838 (set! F (make-vector ngotos #f))
841 (let ((reads (make-vector ngotos #f)))
844 (if (< i ngotos)
921 ((= i ngotos))
974 (define infinity (+ ngotos 2))
[all …]
/dports/devel/guile-lib/guile-lib-0.2.6.1/src/text/
H A Dparse-lalr.scm278 (define ngotos #f) unknown
346 (set! ngotos #f)
853 (set! ngotos ng)
854 (vector-set! goto-map nvars ngotos)
855 (vector-set! temp-map nvars ngotos)
894 (set! F (make-vector ngotos #f))
897 (let ((reads (make-vector ngotos #f)))
900 (if (< i ngotos)
978 ((= i ngotos))
1031 (define infinity (+ ngotos 2))
[all …]
/dports/lang/guile2/guile-2.2.7/module/system/base/
H A Dlalr.upstream.scm246 (define ngotos #f)
321 (set! ngotos #f)
811 (set! ngotos ng)
812 (vector-set! goto-map nvars ngotos)
813 (vector-set! temp-map nvars ngotos)
851 (set! F (make-vector ngotos #f))
854 (let ((reads (make-vector ngotos #f)))
857 (if (< i ngotos)
934 ((= i ngotos))
987 (define infinity (+ ngotos 2))
[all …]
/dports/lang/guile/guile-3.0.7/module/system/base/
H A Dlalr.upstream.scm246 (define ngotos #f)
321 (set! ngotos #f)
811 (set! ngotos ng)
812 (vector-set! goto-map nvars ngotos)
813 (vector-set! temp-map nvars ngotos)
851 (set! F (make-vector ngotos #f))
854 (let ((reads (make-vector ngotos #f)))
857 (if (< i ngotos)
934 ((= i ngotos))
987 (define infinity (+ ngotos 2))
[all …]
/dports/editors/emacs/emacs-27.2/lisp/cedet/semantic/wisent/
H A Dcomp.el1564 (setq infinity (+ ngotos 2)
1570 (while (< i ngotos)
1697 (setq ngotos 0
1706 (setq ngotos (1+ ngotos))
1729 (aset goto-map j ngotos)
1730 (aset temp-map j ngotos)
1777 (setq F (make-vector ngotos nil)
1779 (while (< i ngotos)
1783 (setq reads (make-vector ngotos nil)
1788 (while (< i ngotos)
[all …]
/dports/editors/emacs-devel/emacs-4d1968b/lisp/cedet/semantic/wisent/
H A Dcomp.el1556 (setq infinity (+ ngotos 2)
1562 (while (< i ngotos)
1689 (setq ngotos 0
1698 (setq ngotos (1+ ngotos))
1721 (aset goto-map j ngotos)
1722 (aset temp-map j ngotos)
1769 (setq F (make-vector ngotos nil)
1771 (while (< i ngotos)
1775 (setq reads (make-vector ngotos nil)
1780 (while (< i ngotos)
[all …]
/dports/devel/bison/bison-3.7.6/tests/
H A Dsets.at272 # course, for a given goto, there cannot be more that ngotos (number
275 # So we can "register" way more images than ngotos, leading to a crash
/dports/devel/bison/bison-3.7.6/
H A DChangeLog12288 I never understood why we book ngotos+1 slots for relations between
12289 gotos: there are at most ngotos images, not ngotos+1 (and "includes"
12291 ngotos-1).
12297 clarity of the code ("why ngotos+1 instead of ngotos?").
12299 * src/lalr.c: A goto has at most ngotos images, not ngotos+1.
12328 for a given goto, there cannot be more that ngotos (number of gotos)
12331 "register" way more images than ngotos, leading to a crash (heap
H A DChangeLog-20123185 * src/lalr.h, src/lalr.c (ngotos): Export it.
14055 * src/lalr.c (set_goto_map): Don't allow ngotos to equal
14057 ngotos + 1 without checking for overflow.
14133 * src/lalr.c (goto_map, ngotos, from_state, to_state): Omit
14135 (set_goto_map): ngotos is now unsigned, so test for overflow
/dports/audio/csound/csound-6.15.0/etc/
H A DChangeLog6869 * otran.c (insprep): Assignment to ngotos was unnecessary
10035 (insprep): Reset ngotos and nlabels at start of function
10550 * otran.c: Make ngotos visible