代码搜索结果
找到约 10,000 项符合
L 的代码
mylex.l
/* scanner for a toy Pascal-like language */
%{
/* need this for the call to atof() below */
#include
%}
DIGIT [0-9]
ID [a-z][a-z0-9]*
%%
{DIGIT}+ {
printf(
mylex.l
/* scanner for a toy Pascal-like language */
%{
/* need this for the call to atof() below */
#include
%}
DIGIT [0-9]
ID [a-z][a-z0-9]*
%%
{DIGIT}+ {
printf(
my.l
%{
#include
#include
#include
#include
int currentRow = 1;
int currentCol = 1;
int count = 0; //表示当前数组下标
int size = 100; //表示当前
tiny.l
/****************************************************/
/* File: tiny.l */
/* Lex specification for TINY */
/* Compiler Construction: Princi