PageRenderTime 266ms queryFilters 1ms Sphinxql 9ms app.CodeModel.GetByIds 177ms findMatchingLines 23ms GetByIds 200ms meta 0ms repositoryFilters 23ms languageFilters 0ms sourceFilters 3ms

294 results for 'yychar' (266 ms)

Source

Language

Repository

go.y https://bitbucket.org/taruti/go.plan9 | yacc | 1,951 lines
519		// If the last token read by the lexer was consumed
520		// as part of the case, clear it (parser has cleared yychar).
521		// If the last token read by the lexer was the lookahead
521		// If the last token read by the lexer was the lookahead
522		// leave it alone (parser has it cached in yychar).
523		// This is so that the stmt_list action doesnt look at
524		// the case tokens if the stmt_list is empty.
525		yylast = yychar;
526	}
539
540		if(last > 0 && last != ';' && yychar != '}')
541			yyerror("missing statement after label");
rcparse.y http://android-gcc-objc2-0.googlecode.com/svn/trunk/ | yacc | 1,778 lines
185	    define_accelerator ($1, &$3, $5);
186	    if (yychar != YYEMPTY)
187	      YYERROR;
314	    define_bitmap ($1, &$3, $4);
315	    if (yychar != YYEMPTY)
316	      YYERROR;
326	    define_cursor ($1, &$3, $4);
327	    if (yychar != YYEMPTY)
328	      YYERROR;
356	    define_dialog ($1, &sub_res_info, &dialog);
357	    if (yychar != YYEMPTY)
358	      YYERROR;
383	    define_dialog ($1, &sub_res_info, &dialog);
384	    if (yychar != YYEMPTY)
385	      YYERROR;
rcparse.y git://pkgs.fedoraproject.org/arm-gp2x-linux-binutils | yacc | 1,778 lines
185	    define_accelerator ($1, &$3, $5);
186	    if (yychar != YYEMPTY)
187	      YYERROR;
314	    define_bitmap ($1, &$3, $4);
315	    if (yychar != YYEMPTY)
316	      YYERROR;
326	    define_cursor ($1, &$3, $4);
327	    if (yychar != YYEMPTY)
328	      YYERROR;
356	    define_dialog ($1, &sub_res_info, &dialog);
357	    if (yychar != YYEMPTY)
358	      YYERROR;
383	    define_dialog ($1, &sub_res_info, &dialog);
384	    if (yychar != YYEMPTY)
385	      YYERROR;
rcparse.y http://opensource.apple.com/release/ios-511/ | yacc | 1,802 lines
207	    define_accelerator ($1, &$3, $5);
208	    if (yychar != YYEMPTY)
209	      YYERROR;
336	    define_bitmap ($1, &$3, $4);
337	    if (yychar != YYEMPTY)
338	      YYERROR;
348	    define_cursor ($1, &$3, $4);
349	    if (yychar != YYEMPTY)
350	      YYERROR;
378	    define_dialog ($1, &sub_res_info, &dialog);
379	    if (yychar != YYEMPTY)
380	      YYERROR;
405	    define_dialog ($1, &sub_res_info, &dialog);
406	    if (yychar != YYEMPTY)
407	      YYERROR;
rcparse.y http://opensource.apple.com/release/mac-os-x-1074/ | yacc | 1,793 lines
205	    define_accelerator ($1, &$3, $5);
206	    if (yychar != YYEMPTY)
207	      YYERROR;
334	    define_bitmap ($1, &$3, $4);
335	    if (yychar != YYEMPTY)
336	      YYERROR;
346	    define_cursor ($1, &$3, $4);
347	    if (yychar != YYEMPTY)
348	      YYERROR;
376	    define_dialog ($1, &sub_res_info, &dialog);
377	    if (yychar != YYEMPTY)
378	      YYERROR;
403	    define_dialog ($1, &sub_res_info, &dialog);
404	    if (yychar != YYEMPTY)
405	      YYERROR;
rcparse.y http://opensource.apple.com/release/mac-os-x-1074/ | yacc | 1,764 lines
200	    define_accelerator ($1, &$3, $5);
201	    if (yychar != YYEMPTY)
202	      YYERROR;
329	    define_bitmap ($1, &$3, $4);
330	    if (yychar != YYEMPTY)
331	      YYERROR;
341	    define_cursor ($1, &$3, $4);
342	    if (yychar != YYEMPTY)
343	      YYERROR;
371	    define_dialog ($1, &sub_res_info, &dialog);
372	    if (yychar != YYEMPTY)
373	      YYERROR;
398	    define_dialog ($1, &sub_res_info, &dialog);
399	    if (yychar != YYEMPTY)
400	      YYERROR;
rcparse.y git://pkgs.fedoraproject.org/mingw-headers | yacc | 2,012 lines
203	    define_accelerator ($1, &$3, $5);
204	    if (yychar != YYEMPTY)
205	      YYERROR;
331	    define_bitmap ($1, &$3, $4);
332	    if (yychar != YYEMPTY)
333	      YYERROR;
343	    define_cursor ($1, &$3, $4);
344	    if (yychar != YYEMPTY)
345	      YYERROR;
373	    define_dialog ($1, &sub_res_info, &dialog);
374	    if (yychar != YYEMPTY)
375	      YYERROR;
400	    define_dialog ($1, &sub_res_info, &dialog);
401	    if (yychar != YYEMPTY)
402	      YYERROR;
parse.y git://pkgs.fedoraproject.org/nip2 | yacc | 1,688 lines
1578void
1579free_lex( int yychar )
1580{
1602	extern int yylex( void );
1603	int yychar;
1604	char *ident;
1614
1615	if( (yychar = yylex()) != TK_IDENT ) {
1616		free_lex( yychar );
1620
1621	if( (yychar = yylex()) != '=' ) {
1622		free_lex( yychar );
1650	do {
1651		if( (yychar = yylex()) != TK_IDENT && yychar != TK_TAG ) {
1652			free_lex( yychar );
parse.y http://opensource.apple.com/release/mac-os-x-1074/ | yacc | 4,718 lines
385
386#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)
387extern void yyprint			PROTO((FILE *, int, YYSTYPE));
809		  if (yychar == YYEMPTY)
810		    yychar = YYLEX;
811		  reinit_parse_for_method (yychar, $$); }
1014                { 
1015		  if (yychar == YYEMPTY)
1016		    yychar = YYLEX;
1018		  $$ = finish_template_type ($<ttype>-3, $<ttype>-1, 
1019					     yychar == SCOPE);
1020		}
1241		{ $$ = delete_sanity ($4, NULL_TREE, 1, $1);
1242		  if (yychar == YYEMPTY)
1243		    yychar = YYLEX; }
parser.y https://github.com/diosmosis/wine.git | yacc | 2,820 lines
44# ifndef YYEMPTY
45#  define YYEMPTY	(-1)	/* Empty lookahead value of yychar */
46# endif
398	;
399import_start: tIMPORT aSTRING ';'		{ assert(yychar == YYEMPTY);
400						  $$ = xmalloc(sizeof(struct _import_t));
402						  $$->import_performed = do_import($2);
403						  if (!$$->import_performed) yychar = aEOF;
404						}
cgram.y git://github.com/davshao/dflygsocdrm.git | yacc | 1,682 lines
476		 *
477		 * yychar is valid because otherwise the parser would
478		 * not been able to deceide if he must shift or reduce
479		 */
480		$$ = mktag($2, $1, 0, yychar == T_SEMI);
481	  }
1443		/* XXX realy neccessary? */
1444		if (yychar < 0)
1445			yychar = yylex();
1445			yychar = yylex();
1446		$$ = getnnode(getsym($1), yychar);
1447	  }
1665
1666	if (yychar < 0)
1667		yychar = yylex();
parse.y http://opensource.apple.com/release/mac-os-x-1074/ | yacc | 3,840 lines
330
331#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)
332extern void yyprint			PROTO((FILE *, int, YYSTYPE));
752		    YYERROR1;
753		  if (yychar == YYEMPTY)
754		    yychar = YYLEX;
754		    yychar = YYLEX;
755		  reinit_parse_for_method (yychar, $$); }
756	| component_constructor_declarator
956                { 
957		  if (yychar == YYEMPTY)
958		    yychar = YYLEX;
960		  $$ = finish_template_type ($&lt;ttype&gt;-3, $&lt;ttype&gt;-1, 
961					     yychar == SCOPE);
962		}
cgram.y https://bitbucket.org/killerpenguinassassins/open_distrib_devel.git | yacc | 1,964 lines
571		 *
572		 * yychar is valid because otherwise the parser would
573		 * not been able to deceide if he must shift or reduce
574		 */
575		$$ = mktag($2, $1, 0, yychar == T_SEMI);
576	  }
1641		/* XXX really necessary? */
1642		if (yychar < 0)
1643			yychar = yylex();
1643			yychar = yylex();
1644		$$ = getnnode(getsym($1), yychar);
1645	  }
1947
1948	if (yychar < 0)
1949		yychar = yylex();
parser.y https://bitbucket.org/arty/arty-newcc-reactos | yacc | 2,828 lines
44# ifndef YYEMPTY
45#  define YYEMPTY	(-1)	/* Empty lookahead value of yychar */
46# endif
398	;
399import_start: tIMPORT aSTRING ';'		{ assert(yychar == YYEMPTY);
400						  $$ = xmalloc(sizeof(struct _import_t));
402						  $$->import_performed = do_import($2);
403						  if (!$$->import_performed) yychar = aEOF;
404						}
parser.y http://parrotjs.googlecode.com/svn/trunk/ | yacc | 1,618 lines
37static void err_msg(Params* p, const char* s);
38static int automatic_test(Params* params, int yychar);
39
992    | VAR variable_declaration_list error
993        {{  if(! automatic_test(yyparams, yychar)) YYABORT;
994            $$ = newNode(EVardec_stm, MP);
1062    | expr error
1063        {{  if(! automatic_test(yyparams, yychar)) YYABORT;
1064            $$ = $1;
1262    | break_statement_no_semi error
1263        {{  if(! automatic_test(yyparams, yychar)) YYABORT;
1264            $$ = $1;
1604        return 0;
1605    } else if (yychar == '}' || yychar == 0) {
1606        return 1;
cfg.y https://bitbucket.org/tari/prizm-binutils | yacc | 171 lines
142	}
143      switch (yychar)
144	{
154	default:
155	  if (yychar < 255)
156	    {
156	    {
157	      error ("\"%c\" unexpected here%s", yychar, s);
158	      /* Cause an immediate exit to cfgparse() to avoid
160	      if (*s)
161		yychar = YYEOF;
162	    }
objc-parse.y http://opensource.apple.com/release/mac-os-x-1074/ | yacc | 3,245 lines
288
289#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)
290extern void yyprint			PROTO ((FILE *, int, YYSTYPE));
1375		  if ($$ == error_mark_node
1376		      &amp;&amp; ! (yychar == STRING || yychar == CONSTANT))
1377		    pop_momentary ();
1901		  $$ = poplevel (1, 1, 0);
1902		  if (yychar == CONSTANT || yychar == STRING)
1903		    pop_momentary_nofree ();
1909		  $$ = poplevel (kept_level_p (), 0, 0);
1910		  if (yychar == CONSTANT || yychar == STRING)
1911		    pop_momentary_nofree ();
1917		  $$ = poplevel (kept_level_p (), 0, 0);
1918		  if (yychar == CONSTANT || yychar == STRING)
1919		    pop_momentary_nofree ();
parser.y git://pkgs.fedoraproject.org/wine | yacc | 2,920 lines
148# ifndef YYEMPTY
149#  define YYEMPTY	(-1)	/* Empty lookahead value of yychar */
150# endif
514		 */
515		if(yychar != YYEMPTY && yychar != tNL)
516			dont_want_id = 1;
517
518		if(yychar == tNL)
519			yychar = YYEMPTY;	/* Could use 'yyclearin', but we already need the*/
519			yychar = YYEMPTY;	/* Could use 'yyclearin', but we already need the*/
520						/* direct access to yychar in rule 'usrcvt' below. */
521		else if(yychar == tIDENT)
540 */
541usrcvt	: /* Empty */	{ yychar = rsrcid_to_token(yychar); }
542	;
mvl_scomp_y.y git://pkgs.fedoraproject.org/alliance | yacc | 1,723 lines
555                  yychar = yylex ();
556                while ((yychar != Semicolon) && (yychar != 0));
557                yyerrok;
876                  yychar = yylex ();
877                while ((yychar != Semicolon) && (yychar != 0));
878                yyerrok;
1346                  yychar = yylex ();
1347                while ((yychar != Comma) && (yychar != 0));
1348                yyerrok;
mvl_scomp_y.y git://pkgs.fedoraproject.org/alliance | yacc | 1,479 lines
532		  yychar = yylex ();
533		while ((yychar != Semicolon) && (yychar != 0));
534		yyerrok;
852		  yychar = yylex ();
853		while ((yychar != Semicolon) && (yychar != 0));
854		yyerrok;
1118		  yychar = yylex ();
1119		while ((yychar != Comma) && (yychar != 0));
1120		yyerrok;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15