search for: yychar

Displaying 5 results from an estimated 5 matches for "yychar".

2015 Dec 18
1
Assistance much appreciated
.../src/gramLatex.c R-3.2.3/src/library/tools/src/gramLatex.c --- R-3.2.3.dist/src/library/tools/src/gramLatex.c 2015-12-09 23:20:01.000000000 +0000 +++ R-3.2.3/src/library/tools/src/gramLatex.c 2015-12-17 14:50:14.000000000 +0000 @@ -1358,7 +1358,7 @@ /* The lookahead symbol. */ - int yychar; + extern int yychar; #ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN @@ -1370,7 +1370,7 @@ #endif /* 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 looka...
2013 Aug 20
1
xen 4.4 code bug
So i am getting this cc1: warning: -Wformat-nonliteral ignored without -Wformat [-Wformat-nonliteral] libxlu_cfg_y.c: In function ''xlu__cfg_yyparse'': libxlu_cfg_y.c:1292:41: error: ''scanner'' undeclared (first use in this function) yychar = yylex (&yylval, &yylloc, scanner); ^ libxlu_cfg_y.c:1292:41: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [libxlu_cfg_y.o] Error 1 make[3]: Leaving directory `/data/dev/xen/xen-git/src/xen-buil...
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
...42, 43, 29, 45, 94, 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 =...