代码搜索结果
找到约 10,000 项符合
Y 的代码
parse.y
%{
#include "stdlib.h"
#include "globals.h"
#include "util.h"
#include "scaner.h"
#include "parser.h"
#define YYSTYPE TreeNode*
static char* savedName;
static int savedLineNo;
static Tree
test.y
%{
#include
#include
#include"lex.yy.c"
%}
%token IF THEN WHILE DO READ WRITE CALL BEG END CONST VAR PROCEDURE ODD
%token CONCAT MINUS MULTI DIVIDE
%token END_STMT OPEN_P
parser.y
%{
#include "stdafx.h"
#include "resource.h"
#include "SearchExpr.h"
#include "scanner.h"
#include "OtherFunctions.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_F
parser.y
%{
#include "stdafx.h"
#include "resource.h"
#include "SearchExpr.h"
#include "scanner.h"
#include "OtherFunctions.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_F
ftpcmd.y
/*
* Copyright (c) 1985, 1988, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modificatio
empty.y
%%
start: ;
test.y
%{
/* first section */
%}
%%
%{
/* second section */
%}
S : /* empty */ { printf("S -> epsilon\n"); }
| '(' S ')' S { printf("S -> ( S ) S\n"); }
%ifdef ABC
/* see how preprocessor can be used *
ansic.y
%token AUTO REGISTER STATIC EXTERN TYPEDEF VOID CHAR SHORT INT LONG FLOAT
DOUBLE SIGNED UNSIGNED CONST VOLATILE STRUCT UNION ENUM CASE DEFAULT
IF SWITCH WHILE DO FOR GOTO CONTINUE BREAK RETURN ELSE
error.y
%%
S: error
%%
main(){printf("yyparse() = %d\n",yyparse());}
yylex(){return-1;}
yyerror(s)char*s;{printf("%s\n",s);}
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