代码搜索结果
找到约 10,000 项符合
L 的代码
scan.l
D [0-9]
L [a-zA-Z_]
H [a-fA-F0-9]
E [Ee][+-]?{D}+
FS (f|F|l|L)
IS (u|U|l|L)*
%{
#include
#include "lex_yacc.h"
#include "ArgPack.h"
void make_white_space();
void co
lexer.l
%{
#include "lexglobal.h"
#include "example5.h"
#include
#include
int line = 1, col = 1;
%}
%%
[0-9]+|[0-9]*\.[0-9]+ { col += (int) strlen(yytext);
tiny.l
/****************************************************/
/* File: tiny.l */
/* Lex specification for TINY */
/* Compiler Construction: Princi
radio.l
Sat Jan 15 16:34:59 2005
SAM8 Assembler for Reduced Instruction Ver. 2.10T(Win32)
Copyright (c) 1999 Samsung Electronics Co.
-----------------------------------------------
linput.l
%{
#include "input.tab.h"
extern int linenumber;
%}
%%
[\n] { linenumber++; }
#.*$ {}
[ \t]* {}
^ACTI { return ACTI ;}
^END { return END ;}
^EXEC { return EXEC ;}
^TASK
scan.l
%{
#include "globals.h"
#include "util.h"
#include "scaner.h"
#include "parse.h"
char tokenString[MAXTOKENLEN+1];
%}
digit [0-9]
number {digit}+
real ([0-9]*\.[0-9]+)([
scan.l
%{
#include
#include "RT.h"
#include "gram.tab.h"
%}
ws [ \t]+
comment #[^\n]*
id [a-zA-Z][a-zA-Z0-9]*
nl [\r\n]
int "-"?[0-9]+
dubl "-"?[0-9]+"."[0-9]+
%%