PageRenderTime 375ms queryFilters 0ms Sphinxql 4ms app.CodeModel.GetByIds 291ms findMatchingLines 24ms GetByIds 315ms meta 0ms repositoryFilters 7ms languageFilters 0ms sourceFilters 2ms

294 results for 'yychar' (375 ms)

Source

Language

Repository

gram.y git://git.savannah.gnu.org/radius.git | yacc | 1,031 lines
901	    || strcmp(s, "syntax error") == 0) {
902		if (yychar == T_END)
903			parse_error(_("Misplaced `end'"));
903			parse_error(_("Misplaced `end'"));
904		else if (yychar == EOL) {
905			grad_locus_t loc = source_locus;
911			parse_error(s);
912	} else if (yychar == EOL) {
913		grad_locus_t loc = source_locus;
parser.y git://pkgs.fedoraproject.org/mingw-headers | yacc | 2,822 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						}
eval.y git://pkgs.fedoraproject.org/cfitsio | yacc | 5,838 lines
91   do								\
92     if (yychar == YYEMPTY )   					\
93       { yychar = (token);                                      \
94         memcpy( &yylval, &(value), sizeof(value) );            \
95         yychar1 = YYTRANSLATE (yychar);			\
96         while (yylen--) YYPOPSTACK;				\
fbl_bcomp_y.y git://pkgs.fedoraproject.org/alliance | yacc | 3,814 lines
731                  yychar = yylex ();
732                while ((yychar != Semicolon) && (yychar != 0));           
733                yyerrok;
bvl_bcomp_y.y git://pkgs.fedoraproject.org/alliance | yacc | 3,401 lines
1735		  yychar = yylex ();
1736		while ((yychar != Semicolon) && (yychar != 0));
1737		yyerrok;
1911		  yychar = yylex ();
1912		while ((yychar != Semicolon) && (yychar != 0));
1913		yyerrok;
parser.y https://github.com/gitpan/Language-Haskell.git | yacc | 1,266 lines
1038     */
1039    if (yychar>=0) {
1040	pushed(n-1) = top();
1059
1060    switch (yychar) {
1061	case 0         : return "end of input";
SDCC.y https://bitbucket.org/mirrorbot/sdcc | yacc | 1,943 lines
72    structdef  *sdef;       /* structure definition                   */
73    char       yychar[SDCC_NAME_MAX+1];
74    sym_link   *lnk;        /* declarator  or specifier               */
82
83%token <yychar> IDENTIFIER TYPE_NAME ADDRSPACE_NAME
84%token <val> CONSTANT
Piccolo.y http://dataturbine.googlecode.com/svn/trunk/ | yacc | 1,260 lines
1246    // Check if this is because of an invalid entity reference
1247    if (yychar <= 0)
1248        throw new FatalParsingException("Unexpected end of file after " + yylval);
1249    else
1250        throw new FatalParsingException("Unexpected element: " + yyname[yychar]);
1251}
stdparse.y https://crystal.svn.sourceforge.net/svnroot/crystal | yacc | 1,117 lines
61#define YYERROR_EXTENDED(msg)						\
62  if (yychar == STRING)							\
63  {									\
66  }									\
67  else if (yychar == NUMBER)						\
68  {									\
stdparse.y https://crystal.svn.sourceforge.net/svnroot/crystal | yacc | 1,089 lines
56#define YYERROR_EXTENDED(msg)						\
57  if (yychar == STRING)							\
58  {									\
61  }									\
62  else if (yychar == NUMBER)						\
63  {									\
rc-gram.y git://git.savannah.gnu.org/anubis.git | yacc | 1,864 lines
181	     lex_clear_state ();
182	     yychar = error_sync_begin ();
183	     if (yychar > 0)
gramRd.y http://renjin.googlecode.com/svn/trunk/ | yacc | 1,582 lines
977    	    if (!strcmp(s + sizeof yyunexpected - 1, yytname_translations[i])) {
978    	        sprintf(ParseErrorMsg, yychar < 256 ? _(yyshortunexpected): _(yylongunexpected), 
979    	    	        i/2 < YYENGLISH ? _(yytname_translations[i+1])
985    	if (!translated)
986    	    sprintf(ParseErrorMsg, yychar < 256 ? _(yyshortunexpected) : _(yylongunexpected),
987    	                             s + sizeof yyunexpected - 1, CHAR(STRING_ELT(yylval, 0)));
grammar.y git://pkgs.fedoraproject.org/qt-qsa | yacc | 724 lines
716{
717  if ( yychar == '}' || yychar == 0 )
718    return true;
gramRd.y git://pkgs.fedoraproject.org/R | yacc | 1,863 lines
1239    	    if (!strcmp(s + sizeof yyunexpected - 1, yytname_translations[i])) {
1240    	    	if (yychar < 256)
1241    	    	    sprintf(ParseErrorMsg, _(yyshortunexpected), 
1253    	if (!translated) {
1254    	    if (yychar < 256) 
1255    		sprintf(ParseErrorMsg, _(yyshortunexpected),
gramLatex.y git://pkgs.fedoraproject.org/R | yacc | 874 lines
589    	    if (!strcmp(s + sizeof yyunexpected - 1, yytname_translations[i])) {
590    	    	if (yychar < 256)
591    	    	    sprintf(ParseErrorMsg, _(yyshortunexpected), 
603    	if (!translated) {
604    	    if (yychar < 256) 
605    		sprintf(ParseErrorMsg, _(yyshortunexpected),
grammar.y git://pkgs.fedoraproject.org/kdelibs | yacc | 896 lines
892{
893    return yychar == '}' || yychar == 0 || lexer().prevTerminator();
894}
grammar.y git://pkgs.fedoraproject.org/kdelibs3 | yacc | 700 lines
692    return false;
693  if (yychar == '}' || yychar == 0)
694    return true;
grammar.y http://opensource.apple.com/release/ios-511/ | yacc | 669 lines
659{
660  if (yychar == '}' || yychar == 0)
661    return true;
grammar.y http://opensource.apple.com/release/ios-511/ | yacc | 1,040 lines
1035{
1036    return yychar == '}' || yychar == 0 || Lexer::curr()-&gt;prevTerminator();
1037}
grammar.y http://opensource.apple.com/release/ios-511/ | yacc | 670 lines
660{
661  if (yychar == '}' || yychar == 0)
662    return true;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15