代码搜索结果
找到约 10,000 项符合
L 的代码
scanner.l
#include "../h/cons.h"
#include "error.h"
convert.l
#include "../h/cons.h"
scanner.l
#include "../h/cons.h"
#include "error.h"
scanner.l
%{
#ifndef lint
static char RCSid[] = "$Header: scanner.l,v 2.1 86/07/29 06:48:21 jqj Exp $";
#endif
/*
* scanner.l -- scanner for the XNS courier compiler
*/
/* $Log: scanner.l,v $
* Revision 2.1
token.l
%{
/*-
* Copyright (c) 1982, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are p
lex.l
%{
/*-
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Paul Borman at Krystal Technol
lex.l
%{
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Ed James.
*
* Redistri
lex.l
%{
#include "parser.h"
#include
#include
void getline(char *buf,int *num,int max_num);
#define YY_INPUT(buf,result,max_size) {\
getline(buf,&result,max_size);\
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