search for: yyoverflow

Displaying 11 results from an estimated 11 matches for "yyoverflow".

Did you mean: overflow
2019 Nov 30
2
Inconsistent behavior for the C AP's R_ParseVector() ?
...nt in `src/main/gram.c`: > > ``` > > /* Memory leak > > yyparse(), as generated by bison, allocates extra space for the parser > stack using malloc(). Unfortunately this means that there is a memory > leak in case of an R error (long-jump). In principle, we could define > yyoverflow() to relocate the parser stacks for bison and allocate say on > the R heap, but yyoverflow() is undocumented and somewhat complicated > (we would have to replicate some macros from the generated parser here). > The same problem exists at least in the Rd and LaTeX parsers in tools. > */...
2019 Nov 30
2
Inconsistent behavior for the C AP's R_ParseVector() ?
Hi, The behavior of ``` SEXP R_ParseVector(SEXP, int, ParseStatus *, SEXP); ``` defined in `src/include/R_ext/Parse.h` appears to be inconsistent depending on the string to be parsed. Trying to parse a string such as `"list(''=1+"` sets the `ParseStatus` to incomplete parsing error but trying to parse `"list(''=123"` will result in R sending a message to the
2019 Dec 07
2
Inconsistent behavior for the C AP's R_ParseVector() ?
...gt; /* Memory leak > >> > >> yyparse(), as generated by bison, allocates extra space for the parser > >> stack using malloc(). Unfortunately this means that there is a memory > >> leak in case of an R error (long-jump). In principle, we could define > >> yyoverflow() to relocate the parser stacks for bison and allocate say on > >> the R heap, but yyoverflow() is undocumented and somewhat complicated > >> (we would have to replicate some macros from the generated parser here). > >> The same problem exists at least in the Rd and LaTeX...
2019 Nov 30
0
Inconsistent behavior for the C AP's R_ParseVector() ?
I found the following code comment in `src/main/gram.c`: ``` /* Memory leak yyparse(), as generated by bison, allocates extra space for the parser stack using malloc(). Unfortunately this means that there is a memory leak in case of an R error (long-jump). In principle, we could define yyoverflow() to relocate the parser stacks for bison and allocate say on the R heap, but yyoverflow() is undocumented and somewhat complicated (we would have to replicate some macros from the generated parser here). The same problem exists at least in the Rd and LaTeX parsers in tools. */ ``` Could this be...
2019 Dec 02
0
Inconsistent behavior for the C AP's R_ParseVector() ?
...t;> ``` >> >> /* Memory leak >> >> yyparse(), as generated by bison, allocates extra space for the parser >> stack using malloc(). Unfortunately this means that there is a memory >> leak in case of an R error (long-jump). In principle, we could define >> yyoverflow() to relocate the parser stacks for bison and allocate say on >> the R heap, but yyoverflow() is undocumented and somewhat complicated >> (we would have to replicate some macros from the generated parser here). >> The same problem exists at least in the Rd and LaTeX parsers in too...
2019 Dec 14
2
Inconsistent behavior for the C AP's R_ParseVector() ?
...>>> >> yyparse(), as generated by bison, allocates extra space for the parser >>> >> stack using malloc(). Unfortunately this means that there is a memory >>> >> leak in case of an R error (long-jump). In principle, we could define >>> >> yyoverflow() to relocate the parser stacks for bison and allocate say >>> on >>> >> the R heap, but yyoverflow() is undocumented and somewhat complicated >>> >> (we would have to replicate some macros from the generated parser >>> here). >>> >> Th...
2019 Dec 09
3
Inconsistent behavior for the C AP's R_ParseVector() ?
...gt;> >> >> >> yyparse(), as generated by bison, allocates extra space for the parser >> >> stack using malloc(). Unfortunately this means that there is a memory >> >> leak in case of an R error (long-jump). In principle, we could define >> >> yyoverflow() to relocate the parser stacks for bison and allocate say >> on >> >> the R heap, but yyoverflow() is undocumented and somewhat complicated >> >> (we would have to replicate some macros from the generated parser >> here). >> >> The same problem exist...
2019 Dec 09
0
Inconsistent behavior for the C AP's R_ParseVector() ?
...gt;> yyparse(), as generated by bison, allocates extra space for the > parser > >> stack using malloc(). Unfortunately this means that there is a > memory > >> leak in case of an R error (long-jump). In principle, we could > define > >> yyoverflow() to relocate the parser stacks for bison and > allocate say on > >> the R heap, but yyoverflow() is undocumented and somewhat > complicated > >> (we would have to replicate some macros from the generated > parser here). > >> The same prob...
2019 Dec 14
1
Inconsistent behavior for the C AP's R_ParseVector() ?
...nerated by bison, allocates extra space for the > parser > >>>>>> stack using malloc(). Unfortunately this means that there is a > memory > >>>>>> leak in case of an R error (long-jump). In principle, we could > define > >>>>>> yyoverflow() to relocate the parser stacks for bison and allocate > say > >>>> on > >>>>>> the R heap, but yyoverflow() is undocumented and somewhat > complicated > >>>>>> (we would have to replicate some macros from the generated parser > >...
2019 Dec 09
0
Inconsistent behavior for the C AP's R_ParseVector() ?
...tes extra space >> for the parser >> >> stack using malloc(). Unfortunately this means that there >> is a memory >> >> leak in case of an R error (long-jump). In principle, we >> could define >> >> yyoverflow() to relocate the parser stacks for bison and >> allocate say on >> >> the R heap, but yyoverflow() is undocumented and somewhat >> complicated >> >> (we would have to replicate some macros from the generated >> parse...
2019 Dec 14
0
Inconsistent behavior for the C AP's R_ParseVector() ?
...;>>> yyparse(), as generated by bison, allocates extra space for the parser >>>>>> stack using malloc(). Unfortunately this means that there is a memory >>>>>> leak in case of an R error (long-jump). In principle, we could define >>>>>> yyoverflow() to relocate the parser stacks for bison and allocate say >>>> on >>>>>> the R heap, but yyoverflow() is undocumented and somewhat complicated >>>>>> (we would have to replicate some macros from the generated parser >>>> here). >>&g...