📄 diffs
字号:
diff -c ../Makefile ./Makefile*** ../Makefile Thu Jun 28 00:44:07 1990--- ./Makefile Mon Jul 16 13:57:26 1990****************** 39,49 **** # AUXDIR, manual pages will be installed in MANDIR with extension MANEXT. # Raw, unformatted troff source will be installed if INSTALLMAN=man, nroff # preformatted versions will be installed if INSTALLMAN=cat.! DESTDIR = BINDIR = /usr/local LIBDIR = /usr/local/lib AUXDIR = /usr/local/lib MANDIR = /usr/man/manl MANEXT = l INSTALLMAN = man --- 39,50 ---- # AUXDIR, manual pages will be installed in MANDIR with extension MANEXT. # Raw, unformatted troff source will be installed if INSTALLMAN=man, nroff # preformatted versions will be installed if INSTALLMAN=cat.! DESTDIR = /projects/m751stereo/code/c/swl26 BINDIR = /usr/local LIBDIR = /usr/local/lib AUXDIR = /usr/local/lib MANDIR = /usr/man/manl+ INCLUDEDIR = . MANEXT = l INSTALLMAN = man ****************** 52,58 **** SKELETON_FILE = $(DESTDIR)$(AUXDIR)/flex.skel SKELFLAGS = -DDEFAULT_SKELETON_FILE=\"$(SKELETON_FILE)\"! CFLAGS = -O LDFLAGS = -s COMPRESSION =--- 53,59 ---- SKELETON_FILE = $(DESTDIR)$(AUXDIR)/flex.skel SKELFLAGS = -DDEFAULT_SKELETON_FILE=\"$(SKELETON_FILE)\"! CFLAGS = -O -DUSG -I$(INCLUDEDIR) LDFLAGS = -s COMPRESSION =diff -c ../ccl.c ./ccl.c*** ../ccl.c Thu Jun 28 00:44:07 1990--- ./ccl.c Mon Jul 16 13:57:27 1990****************** 28,37 **** #ifndef lint static char rcsid[] =! "@(#) $Header: /usr/fsys/odin/a/vern/flex/RCS/ccl.c,v 2.5 90/06/27 23:48:13 vern Exp $ (LBL)"; #endif ! #include "flexdef.h" /* ccladd - add a single character to a ccl *--- 28,37 ---- #ifndef lint static char rcsid[] =! "@(#) $Header: ccl.c,v 2.5 90/06/27 23:48:13 vern Exp $ (LBL)"; #endif ! #include <flexdef.h> /* ccladd - add a single character to a ccl *diff -c ../dfa.c ./dfa.c*** ../dfa.c Thu Jun 28 00:44:08 1990--- ./dfa.c Mon Jul 16 13:57:28 1990****************** 28,37 **** #ifndef lint static char rcsid[] =! "@(#) $Header: /usr/fsys/odin/a/vern/flex/RCS/dfa.c,v 2.7 90/06/27 23:48:15 vern Exp $ (LBL)"; #endif ! #include "flexdef.h" /* declare functions that have forward references */--- 28,38 ---- #ifndef lint static char rcsid[] =! "@(#) $Header: dfa.c,v 2.7 90/06/27 23:48:15 vern Exp $ (LBL)"; #endif ! #include <flexdef.h>! #include <ctype.h> /* declare functions that have forward references */****************** 682,688 **** register int j; for ( i = 'A', j = 'a'; i <= 'Z'; ++i, ++j )! state[i] = state[j]; } if ( ds > num_start_states )--- 683,692 ---- register int j; for ( i = 'A', j = 'a'; i <= 'Z'; ++i, ++j )! {! if (isupper(i) )! state[i] = state[j];! } } if ( ds > num_start_states )****************** 958,964 **** } } ! else if ( sym >= 'A' && sym <= 'Z' && caseins ) flexfatal( "consistency check failed in symfollowset" ); else if ( sym == SYM_EPSILON )--- 962,968 ---- } } ! else if ( isupper ( sym ) && caseins ) flexfatal( "consistency check failed in symfollowset" ); else if ( sym == SYM_EPSILON )Only in .: diffsOnly in .: diffs.newdiff -c ../ecs.c ./ecs.c*** ../ecs.c Thu Jun 28 00:44:08 1990--- ./ecs.c Mon Jul 16 13:57:28 1990****************** 28,37 **** #ifndef lint static char rcsid[] =! "@(#) $Header: /usr/fsys/odin/a/vern/flex/RCS/ecs.c,v 2.5 90/06/27 23:48:17 vern Exp $ (LBL)"; #endif ! #include "flexdef.h" /* ccl2ecl - convert character classes to set of equivalence classes *--- 28,37 ---- #ifndef lint static char rcsid[] =! "@(#) $Header: ecs.c,v 2.5 90/06/27 23:48:17 vern Exp $ (LBL)"; #endif ! #include <flexdef.h> /* ccl2ecl - convert character classes to set of equivalence classes *diff -c ../flex.skel ./flex.skel*** ../flex.skel Thu Jun 28 00:44:27 1990--- ./flex.skel Mon Jul 16 13:57:29 1990****************** 1,7 **** /* A lexical scanner generated by flex */ /* scanner skeleton version:! * $Header: /usr/fsys/odin/a/vern/flex/RCS/flex.skel,v 2.13 90/05/26 17:24:13 vern Exp $ */ #define FLEX_SCANNER--- 1,7 ---- /* A lexical scanner generated by flex */ /* scanner skeleton version:! * $Header: flex.skel,v 2.13 90/05/26 17:24:13 vern Exp $ */ #define FLEX_SCANNERdiff -c ../flexdef.h ./flexdef.h*** ../flexdef.h Thu Jun 28 00:44:27 1990--- ./flexdef.h Mon Jul 16 13:57:30 1990****************** 26,32 **** * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ ! /* @(#) $Header: /usr/fsys/odin/a/vern/flex/RCS/flexdef.h,v 2.7 90/06/27 23:48:19 vern Exp $ (LBL) */ #ifndef FILE #include <stdio.h>--- 26,32 ---- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ ! /* @(#) $Header: flexdef.h,v 2.7 90/06/27 23:48:19 vern Exp $ (LBL) */ #ifndef FILE #include <stdio.h>****************** 45,51 **** /* size of input alphabet - should be size of ASCII set */ #ifndef DEFAULT_CSIZE! #define DEFAULT_CSIZE 128 #endif #ifndef PROTO--- 45,51 ---- /* size of input alphabet - should be size of ASCII set */ #ifndef DEFAULT_CSIZE! #define DEFAULT_CSIZE 256 #endif #ifndef PROTO****************** 90,96 ****--- 90,98 ---- #define SHORT_FILE_NAMES #endif + #ifndef OSVS char *malloc(), *realloc();+ #endif /* maximum line length we'll have to deal with */****************** 116,125 **** #define true 1 #define false 0 - #ifndef DEFAULT_SKELETON_FILE #define DEFAULT_SKELETON_FILE "flex.skel"! #endif /* special chk[] values marking the slots taking by end-of-buffer and action * numbers--- 118,132 ---- #define true 1 #define false 0 #ifndef DEFAULT_SKELETON_FILE+ #ifdef OSVS+ #define DEFAULT_SKELETON_FILE "ctri01"+ #define SYSUT1 "sysut1" + #define SYSUT2 "sysut2" + #else #define DEFAULT_SKELETON_FILE "flex.skel"! #endif /* OSVS */! #endif /* DEFAULT_SKELETON_FILE */ /* special chk[] values marking the slots taking by end-of-buffer and action * numbers****************** 226,233 **** #define INITIAL_MAX_SCS 40 /* maximum number of start conditions */ #define MAX_SCS_INCREMENT 40 /* amount to bump by if it's not enough */ ! #define ONE_STACK_SIZE 500 /* stack of states with only one out-transition */! #define SAME_TRANS -1 /* transition is the same as "default" entry for state */ /* the following percentages are used to tune table compression: --- 233,240 ---- #define INITIAL_MAX_SCS 40 /* maximum number of start conditions */ #define MAX_SCS_INCREMENT 40 /* amount to bump by if it's not enough */ ! #define ONE_STACK_SIZE 500 /*stack of states with only one out-transition*/! #define SAME_TRANS -1 /*transition is the same as "default" entry for state */ /* the following percentages are used to tune table compression: diff -c ../gen.c ./gen.c*** ../gen.c Thu Jun 28 00:44:28 1990--- ./gen.c Mon Jul 16 13:57:32 1990****************** 28,37 **** #ifndef lint static char rcsid[] =! "@(#) $Header: /usr/fsys/odin/a/vern/flex/RCS/gen.c,v 2.9 90/06/27 23:48:22 vern Exp $ (LBL)"; #endif ! #include "flexdef.h" /* declare functions that have forward references */--- 28,37 ---- #ifndef lint static char rcsid[] =! "@(#) $Header: gen.c,v 2.9 90/06/27 23:48:22 vern Exp $ (LBL)"; #endif ! #include <flexdef.h> /* declare functions that have forward references */****************** 292,298 **** indent_puts( "{" ); ! indent_puts( "if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] )" ); indent_up(); indent_puts( "{" ); indent_puts( "yy_act = yy_acclist[yy_lp];" );--- 292,298 ---- indent_puts( "{" ); ! indent_puts("if( yy_lp && yy_lp < yy_accept[yy_current_state + 1] )"); indent_up(); indent_puts( "{" ); indent_puts( "yy_act = yy_acclist[yy_lp];" );diff -c ../initscan.c ./initscan.c*** ../initscan.c Thu Jun 28 00:44:51 1990--- ./initscan.c Mon Jul 16 13:57:33 1990****************** 1,7 **** /* A lexical scanner generated by flex */ /* scanner skeleton version:! * $Header: /usr/fsys/odin/a/vern/flex/RCS/flex.skel,v 2.13 90/05/26 17:24:13 vern Exp $ */ #define FLEX_SCANNER--- 1,7 ---- /* A lexical scanner generated by flex */ /* scanner skeleton version:! * $Header: flex.skel,v 2.13 90/05/26 17:24:13 vern Exp $ */ #define FLEX_SCANNER****************** 193,199 **** #ifndef lint static char rcsid[] =! "@(#) $Header: /usr/fsys/odin/a/vern/flex/RCS/scan.l,v 2.9 90/06/27 23:48:34 vern Exp $ (LBL)"; #endif #undef yywrap--- 193,199 ---- #ifndef lint static char rcsid[] =! "@(#) $Header: scan.l,v 2.9 90/06/27 23:48:34 vern Exp $ (LBL)"; #endif #undef yywrapdiff -c ../libmain.c ./libmain.c*** ../libmain.c Thu Jun 28 00:44:28 1990--- ./libmain.c Mon Jul 16 13:57:34 1990****************** 1,6 **** /* libmain - flex run-time support library "main" function */ ! /* $Header: /usr/fsys/odin/a/vern/flex/RCS/libmain.c,v 1.2 90/05/26 16:50:08 vern Exp $ */ extern int yylex(); --- 1,6 ---- /* libmain - flex run-time support library "main" function */ ! /* $Header: libmain.c,v 1.2 90/05/26 16:50:08 vern Exp $ */ extern int yylex(); diff -c ../main.c ./main.c*** ../main.c Thu Jun 28 00:44:29 1990--- ./main.c Mon Jul 16 13:57:34 1990****************** 34,44 **** #ifndef lint static char rcsid[] =! "@(#) $Header: /usr/fsys/odin/a/vern/flex/RCS/main.c,v 2.9 90/06/27 23:48:24 vern Exp $ (LBL)"; #endif ! #include "flexdef.h" static char flex_version[] = "2.3"; --- 34,44 ---- #ifndef lint static char rcsid[] =! "@(#) $Header: main.c,v 2.9 90/06/27 23:48:24 vern Exp $ (LBL)"; #endif ! #include <flexdef.h> static char flex_version[] = "2.3"; ****************** 97,106 **** char *program_name; #ifndef SHORT_FILE_NAMES static char *outfile = "lex.yy.c";! #else static char *outfile = "lexyy.c";! #endif static int outfile_created = 0; static int use_stdout; static char *skelname = NULL;--- 97,110 ---- char *program_name; #ifndef SHORT_FILE_NAMES+ #ifdef OSVS+ static char *outfile = "ctro01";+ #else /* not OSVS */ static char *outfile = "lex.yy.c";! #endif /* not OSVS */! #else /* SHORT_FILE_NAMES */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -