-
大小: 2.16MB文件類型: .zip金幣: 2下載: 0 次發布日期: 2023-09-14
- 語言: 其他
- 標簽:
資源簡介
四個實驗的代碼和運行結果還有測試數據都在里面,要是要課程設計報告可以翻翻我的另一個《系統軟件課程設計報告》

代碼片段和文件信息
#line?2?“clex2.yy.c“
/*?A?lexical?scanner?generated?by?flex?*/
/*?Scanner?skeleton?version:
?*?$Header:?/home/daffy/u0/vern/flex/RCS/flex.sklv?2.91?96/09/10?16:58:48?vern?Exp?$
?*/
#define?FLEX_SCANNER
#define?YY_FLEX_MAJOR_VERSION?2
#define?YY_FLEX_MINOR_VERSION?5
#include?
/*?cfront?1.2?defines?“c_plusplus“?instead?of?“__cplusplus“?*/
#ifdef?c_plusplus
#ifndef?__cplusplus
#define?__cplusplus
#endif
#endif
#ifdef?__cplusplus
#include?
#include?
/*?Use?prototypes?in?function?declarations.?*/
#define?YY_USE_PROTOS
/*?The?“const“?storage-class-modifier?is?valid.?*/
#define?YY_USE_CONST
#else /*?!?__cplusplus?*/
#if?__STDC__
#define?YY_USE_PROTOS
#define?YY_USE_CONST
#endif /*?__STDC__?*/
#endif /*?!?__cplusplus?*/
#ifdef?__TURBOC__
?#pragma?warn?-rch
?#pragma?warn?-use
#include?
#include?
#define?YY_USE_CONST
#define?YY_USE_PROTOS
#endif
#ifdef?YY_USE_CONST
#define?yyconst?const
#else
#define?yyconst
#endif
#ifdef?YY_USE_PROTOS
#define?YY_PROTO(proto)?proto
#else
#define?YY_PROTO(proto)?()
#endif
/*?Returned?upon?end-of-file.?*/
#define?YY_NULL?0
/*?Promotes?a?possibly?negative?possibly?signed?char?to?an?unsigned
?*?integer?for?use?as?an?array?index.??If?the?signed?char?is?negative
?*?we?want?to?instead?treat?it?as?an?8-bit?unsigned?char?hence?the
?*?double?cast.
?*/
#define?YY_SC_TO_UI(c)?((unsigned?int)?(unsigned?char)?c)
/*?Enter?a?start?condition.??This?macro?really?ought?to?take?a?parameter
?*?but?we?do?it?the?disgusting?crufty?way?forced?on?us?by?the?()-less
?*?definition?of?BEGIN.
?*/
#define?BEGIN?yy_start?=?1?+?2?*
/*?Translate?the?current?start?state?into?a?value?that?can?be?later?handed
?*?to?BEGIN?to?return?to?the?state.??The?YYSTATE?alias?is?for?lex
?*?compatibility.
?*/
#define?YY_START?((yy_start?-?1)?/?2)
#define?YYSTATE?YY_START
/*?Action?number?for?EOF?rule?of?a?given?start?state.?*/
#define?YY_STATE_EOF(state)?(YY_END_OF_BUFFER?+?state?+?1)
/*?Special?action?meaning?“start?processing?a?new?file“.?*/
#define?YY_NEW_FILE?yyrestart(?yyin?)
#define?YY_END_OF_BUFFER_CHAR?0
/*?Size?of?default?input?buffer.?*/
#define?YY_BUF_SIZE?16384
typedef?struct?yy_buffer_state?*YY_BUFFER_STATE;
extern?int?yyleng;
extern?FILE?*yyin?*yyout;
#define?EOB_ACT_CONTINUE_SCAN?0
#define?EOB_ACT_END_OF_FILE?1
#define?EOB_ACT_LAST_MATCH?2
/*?The?funky?do-while?in?the?following?#define?is?used?to?turn?the?definition
?*?int?a?single?C?statement?(which?needs?a?semi-colon?terminator).??This
?*?avoids?problems?with?code?like:
?*
?*? if?(?condition_holds?)
?* yyless(?5?);
?* else
?* do_something_else();
?*
?*?Prior?to?using?the?do-while?the?compiler?would?get?upset?at?the
?*?“else“?because?it?interpreted?the?“if“?statement?as?being?all
?*?done?when?it?reached?the?‘;‘?after?the?yyless()?call.
?*/
/*?Return?all?but?the?first?‘n‘?matched?characters?back?to?the?inpu
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????1949745??2018-05-02?21:26??08153324-計科15-2班-陳潔(0502).docx
?????目錄???????????0??2018-05-09?19:51??課程設計清單1\
?????文件????????1033??2018-03-12?14:12??課程設計清單1\clex.l
?????文件???????41694??2018-03-18?21:06??課程設計清單1\clex2.yy.c
?????文件??????110592??2018-03-18?21:07??課程設計清單1\clex2.yy.exe
?????文件???????14015??2018-03-18?21:07??課程設計清單1\clex2.yy.obj
?????文件?????????147??2018-03-18?21:13??課程設計清單1\test.cpp
?????目錄???????????0??2018-05-09?19:53??課程設計清單2\
?????文件?????????283??2018-03-18?22:07??課程設計清單2\Name.l
?????文件???????41793??2018-03-19?14:26??課程設計清單2\Name.tab.c
?????文件????????2115??2018-03-19?14:26??課程設計清單2\Name.tab.h
?????文件????????5352??2018-03-19?14:26??課程設計清單2\Name.tab.obj
?????文件??????????15??2018-03-19?13:32??課程設計清單2\Name.txt
?????文件?????????313??2018-03-19?14:25??課程設計清單2\Name.y
?????文件???????37564??2018-03-19?14:26??課程設計清單2\Name.yy.c
?????文件??????111104??2018-03-19?14:26??課程設計清單2\Name.yy.exe
?????文件???????10896??2018-03-19?14:26??課程設計清單2\Name.yy.obj
?????目錄???????????0??2018-05-09?19:56??課程設計清單3\
?????文件????????2897??2018-03-28?14:37??課程設計清單3\fb3-2.h
?????文件????????1714??2018-03-28?16:45??課程設計清單3\fb3-2.l
?????文件???????44909??2018-03-28?15:20??課程設計清單3\fb3-2.lex.c
?????文件???????13316??2018-03-28?15:20??課程設計清單3\fb3-2.lex.obj
?????文件???????50375??2018-03-28?14:50??課程設計清單3\fb3-2.tab.c
?????文件??????100864??2018-03-28?15:20??課程設計清單3\fb3-2.tab.exe
?????文件????????2533??2018-03-28?14:50??課程設計清單3\fb3-2.tab.h
?????文件????????7126??2018-03-28?15:20??課程設計清單3\fb3-2.tab.obj
?????文件????????2430??2018-03-28?14:37??課程設計清單3\fb3-2.y
?????文件???????10200??2018-03-28?14:37??課程設計清單3\fb3-2funcs.c
?????文件????????9766??2018-03-28?15:20??課程設計清單3\fb3-2funcs.obj
?????目錄???????????0??2018-05-09?20:01??課程設計清單4\
?????文件????????9749??2009-11-08?10:54??課程設計清單4\pmysql.l
............此處省略7個文件信息
- 上一篇:基于STM32的SPWM輸出
- 下一篇:類似firebug的IE調試工具包
評論
共有 條評論