代码搜索结果
找到约 10,000 项符合
Y 的代码
parse.y
/* parse.y - parser for flex input */
%token CHAR NUMBER SECTEND SCDECL XSCDECL NAME PREVCCL EOF_OP
%token OPTION_OP OPT_OUTFILE OPT_PREFIX OPT_YYCLASS
%token CCE_ALNUM CCE_ALPHA CCE_BLANK CCE_
joos.y
/*
* JOOS is Copyright (C) 1997 Laurie Hendren & Michael I. Schwartzbach
*
* Reproduction of all or part of this software is permitted for
* educational or research use on condition that this copy
postfix.y
/*@A (C) 1992 Allen I. Holub */
%term ICON NAME
%left PLUS MINUS
%left TIMES DIVIDE
%%
s : expr
;
expr : NAME { yycode("%s\n", yytext );
union.y
/*@A (C) 1992 Allen I. Holub */
%union {
int op_type;
char *var_name;
}
%term DIVOP /* / or % */
%type e statement
%t
expr.y
/*@A (C) 1992 Allen I. Holub */
%term NUM_OR_ID /* a number or identifier */
%left PLUS /* + (lowest precedence) */
%left STAR /* *
c.y
/*@A (C) 1992 Allen I. Holub */
/* ANSI C, more or less.
*
* Note that I've restricted myself to yacc-compatible constructions here
expr.y
/*@A (C) 1992 Allen I. Holub */
/* This is the occs input file for the expression compiler in Appendix E
*/
%term ID /* a string of lo