代码搜索结果
找到约 10,000 项符合
L 的代码
wtok.l
/*
* Copyright (c) 1997-2003 Erez Zadok
* Copyright (c) 2001-2003 Stony Brook University
* Copyright (c) 1997-2000 Columbia University
*
* For specific licensing information, see the COPYING file
dvscan.l
/*
* Copyright (C) 2006 Bill Cox
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softwar
tiny.l
/****************************************************/
/* File: tiny.l */
/* Lex specification for TINY */
/* Compiler Construction: Princi
lex.l
%{
#include "stdafx.h"
#include "lex.h"
ifstream fin;
ofstream fout;
string curstr;
dfa_state_map dfa;
state_action_map action;
int lineno = 1;
int state = 1;
void WriteToken(int token);
void Proc
linput.l
%{
#include "input.tab.h"
extern int linenumber;
%}
%%
[\n] { linenumber++; }
#.*$ {}
[ \t]* {}
^ACTI { return ACTI ;}
^END { return END ;}
^EXEC { return EXEC ;}
^TASK
mylexer.l
%{
/****************************************************************************
mylexer.l
ParserWizard generated Lex file.
Date: 2007年12月5日
****************************************************
mylexer.l
%{
/****************************************************************************
mylexer.l
ParserWizard generated Lex file.
Date: 2007年11月1日
****************************************************