全套课程设计,经检验,程序无BUG#include#include"lex.h"main(){ //LexScan() //{  charch,ch1;//存放读入的字符  chartoken[50]={'\0'};//存放识别的字符串  inti=0;//字符串的指针  intflag;//字符串比较的标志  AttrWordattrword[200]={{"\0"}};//定义属性字  intAWflag=1;//属性字计数器  intk,c,flag1=0,Linenum=1;  FILE*fp=fopen("d:\\lex.txt","r");  if(fp==NULL)   {   printf("can'topentext!");   exit(0);  }   ch=fgetc(fp);
                                    
                                    
                                        
                                            1