代码搜索结果
找到约 10,000 项符合
L 的代码
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]+
%%
{ws} ;
{comm
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]+
%%
{ws} ;
{comm
scan.l
%{
#include
#include "BT.h"
#include "gram.tab.h"
%}
ws [ \t]+
comment #[^\n]*
qstring \"[^\"\n]*[\"\n]
id [a-zA-Z][a-zA-Z0-9]*
nl [\r\n]
int "-"?[0-9]+
%%
{ws} ;
{comment} ;
{qstr
scanner.l
%{
/* SPIM S20 MIPS simulator.
Lexical scanner.
Copyright (C) 1990-2004 by James Larus (larus@cs.wisc.edu).
ALL RIGHTS RESERVED.
SPIM is distributed under the following conditions:
lexer.l
%{
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2002-2007 Marcel Holtmann
*
*
* This program is free software; you can redistribute it and/or mo
lexer.l
%{
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2000-2001 Qualcomm Incorporated
* Copyright (C) 2002-2003 Maxim Krasnyansky
* Copyright (C) 2002-
tiny.l
/****************************************************/
/* File: tiny.l */
/* Lex specification for TINY */
/* Compiler Construction: Princi