代码搜索结果
找到约 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