代码搜索结果
找到约 10,000 项符合
Y 的代码
calculator.y
%{
#include /* For math functions,sin(),cos(),etc.*/
#include"Calculator.h" /* contains definition of 'synrec'.*/
#include"Calculator.c"
int yylex(void);
void yyerror(char const*)
y.txt
import javax.microedition.lcdui.*;
public class y
implements CommandListener, g
{
private final int h_int_fld = 0;
private final int r = 1;
private final int e_int_fld = 2;
gram.y
%{
#include
#include "lburg.h"
static char rcsid[] = "$Id: gram.y,v 2.5 1997/11/21 18:59:34 drh Exp $";
/*lint -e616 -e527 -e652 -esym(552,yynerrs) -esym(563,yynewstate,yyerrlab) */
sta
plural.y
%{
/* Expression parsing for plural form selection.
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Written by Ulrich Drepper , 2000.
This program is free softwar
error.y
%%
S: error
%%
main(){printf("yyparse() = %d\n",yyparse());}
yylex(){return-1;}
yyerror(s)char*s;{printf("%s\n",s);}
grammar.y
/* $Id: grammar.y,v 1.1 2004/03/24 21:29:23 tom Exp $
*
* yacc grammar for C function prototype generator
* This was derived from the grammar in Appendix A of
* "The C Programming Language" by Ker
ftp.y
/*
* Copyright (c) 1985, 1988 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyrig
calc.y
%{
# include
# include
int regs[26];
int base;
%}
%start list
%token DIGIT LETTER
%left '|'
%left '&'
%left '+' '-'
%left '*' '/' '%'
%left UMINUS /* supplies precedence for
lr.y
%{
#include
%}
%token INTEGER
%token REAL
%token IDENTIFIER
%%
D : T R ';' { $2 = $1; }
T : REAL
| INTEGER
R : R ',' IDENTIFIER { $1 = $$; $3 = $$; printf("%d ", $3); }
| IDENTIFIER {
gram.y
/* @(#) gram.y 1.3 1/27/86 17:49:00 */
/*ident "@(#)cfront:src/gram.y 1.3" */
/*************************************************************************
C++ source for cfront, the C++ compiler fron