代码搜索:Lex
找到约 2,769 项符合「Lex」的源代码
代码结果 2,769
www.eeworm.com/read/277284/10649547
lex parse.lex
%{
/*
* sudo version 1.1 allows users to execute commands as root
* Copyright (C) 1991 The Root Group, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it unde
www.eeworm.com/read/417732/10978883
exe lex.exe
www.eeworm.com/read/417732/10978885
h lex.h
#include
#include
#include
#include
#include
#include
#define IDENTIFIER 1
#define NUMBER 2
#define INT 3
#define IF 4
#defi
www.eeworm.com/read/417732/10978890
cpp lex.cpp
#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
www.eeworm.com/read/417732/10978901
cpp lex.cpp
#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
www.eeworm.com/read/417732/10978909
l 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
www.eeworm.com/read/417635/10983830
c lex.c
%{
int _numargs = 10;
char *_args[10];
int _argcount = 0;
%}
QUOTE \"[^\"]*\"
WORD [a-zA-Z0-9\/\.-]+
SPECIAL [()>
www.eeworm.com/read/469028/6983868
lex 2.lex
%{
#include "stdlib.h"
#include "string.h"
#define HASHSIZE 256
#define GLOBAL 0
int lineno = 1;
%}
delim [ \t\n]
ws {delim}+
/*letter [A-Za-z]*/
unit [\x90-\xFF][\x90-\xFF]
d
www.eeworm.com/read/468602/6985806
l lex.l
%{
/*
* Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
*
* All Rights Reserved
*
* Permission to use, copy, modify, and distribute this software
www.eeworm.com/read/467642/7006550
lex tiger.lex
package Parse;
import ErrorMsg.ErrorMsg;
%%
%implements Lexer
%function nextToken
%type java_cup.runtime.Symbol
%char
%{
private void newline() {
errorMsg.newline(yychar);
}
private void err(in