代码搜索结果
找到约 10,000 项符合
Y 的代码
myparser.y
%{
/****************************************************************************
myparser.y
ParserWizard generated YACC file.
Date: 2006年4月25日
**************************************************
parser.y
/* File: parser.y
* --------------
* Yacc input file to generate the parser for the compiler.
*
* pp2: your job is to write a parser that will construct the parse tree
* and if no parse erro
y.output
Terminals which are not used
UMINUS
Grammar
0 $accept: Program $end
1 Program: DeclList
2 DeclList: DeclList Decl
3 | Decl
4 Decl: VariableDecl
5 | ClassD
chsgram.y
%{
// Make sure we don't get gram.h twice.
#define _CHSGRAM_H_
#define _CMDGRAM_H_
#include
#include
#include "console/console.h"
#include "console/compiler.h"
#includ
y.c
void disporder(int loc,char *str,int icolor,int fcolor)
{ int i,j,maxlen,strcnt;
int x,y,xn,yn;
int count;
int counts;
int counthz;
int ilength;
count=0;
ilength=0;
strcnt