Displaying 4 results from an estimated 4 matches for "yynerrs".
2015 Dec 18
1
Assistance much appreciated
.../* The semantic value of the lookahead symbol.  */
- YYSTYPE yylval YY_INITIAL_VALUE(yyval_default);
+ extern YYSTYPE yylval YY_INITIAL_VALUE(yyval_default);
   /* Location data for the lookahead symbol.  */
   YYLTYPE yylloc
@@ -1381,7 +1381,7 @@
   /* Number of syntax errors so far.  */
- int yynerrs;
+ extern int yynerrs;
   /*----------.
diff -ru R-3.2.3.dist/src/library/tools/src/gramRd.c 
R-3.2.3/src/library/tools/src/gramRd.c
--- R-3.2.3.dist/src/library/tools/src/gramRd.c 2015-12-09 
23:20:01.000000000 +0000
+++ R-3.2.3/src/library/tools/src/gramRd.c      2015-12-17 
14:51:19.000000000...
2015 Dec 17
5
Assistance much appreciated
I have been struggling with this error message - and think I finally 
understand it's context.
Start
Line by line debugging shows me the function works:
...
 > saveRDS(val, mapfile)
 > val
$variables
$variables$IANA_HTTP_status_code_db
[1]    0 1256
$variables$IANA_URI_scheme_db
[1] 1256 3458
$variables$table_of_HTTP_status_codes
[1] 4714  830
$references
named list()
$compressed
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo.  (I am not 
allocating RBP to any virtual register, the instances of RBP in function 
foo are in the machine code when my register allocator starts.)
Function foo calls function bar.  Register RBP is not saved across the 
call, though it is live after the call.  Function bar includes a virtual 
register.  The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...46, 15, 16, 17, 18,
    19, 20, 21, 22, 23, 24, 25, 26, 36, 37,
    38, 34, 8, 37, 41, 42, 43, 42, 45, 29,
    44, 47, 8, 30, 34, 32, 52, 46, 1, 39,
    40, 8, 5, 6, 7, 5, 6, 7, 11, 33,
    33, 11, 35, 31, 36, 37, 28, 8, 4, 47,
     3, 30, 0, 0, 29, 22, 57, 44, 66, 62
};
int yychar;
int yylval;
int yynerrs;
int yyparse (void);
int
yyparse()
    
{
  register int yystate;
  register int yyn;
  register short *yyssp;
  register int *yyvsp;
  int yyerrstatus;
  int yychar1 = 0;
  short yyssa[200];
  int yyvsa[200];
  short *yyss = yyssa;
  int *yyvs = yyvsa;
  int yystacksize = 200;
  int yyfree_stacks...