Strange exchange between decl & desc in PAT sed patterns.
This commit is contained in:
parent
52fe1c961f
commit
c5d9fbe540
|
@ -35,6 +35,8 @@
|
||||||
# include "gscr_SymbChanRout.h"
|
# include "gscr_SymbChanRout.h"
|
||||||
# include "gscr_DynamicUtil.h"
|
# include "gscr_DynamicUtil.h"
|
||||||
|
|
||||||
|
long TabRout[MAXCOL][MAXLINE];
|
||||||
|
|
||||||
long EndPattern = LEADPATTERN;
|
long EndPattern = LEADPATTERN;
|
||||||
BOOLEAN TOPNOTROUT, BOTNOTROUT;
|
BOOLEAN TOPNOTROUT, BOTNOTROUT;
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
|
@ -35,9 +35,9 @@ pat_decl_l.c : $(srcdir)/pat_decl_l.l pat_decl_y.h
|
||||||
pat_desc_y.c pat_desc_y.h : $(srcdir)/pat_desc_y.y
|
pat_desc_y.c pat_desc_y.h : $(srcdir)/pat_desc_y.y
|
||||||
$(YACC) -d $(YFLAGS) $(srcdir)/pat_desc_y.y \
|
$(YACC) -d $(YFLAGS) $(srcdir)/pat_desc_y.y \
|
||||||
&& $(SED) -e "s/yyparse/pat_desc_y_parse/g" y.tab.c \
|
&& $(SED) -e "s/yyparse/pat_desc_y_parse/g" y.tab.c \
|
||||||
| $(SED) -e "s/yy/pat_desc_y_/g" -e "s/YY/PAT_DESC_Y_/g" > pat_desc_y.c \
|
| $(SED) -e "s/yy/pat_decl_y_/g" -e "s/YY/PAT_DECL_Y_/g" > pat_desc_y.c \
|
||||||
&& $(SED) -e "s/yyparse/pat_desc_y_parse/g" y.tab.h \
|
&& $(SED) -e "s/yyparse/pat_desc_y_parse/g" y.tab.h \
|
||||||
| $(SED) -e "s/yy/pat_desc_y_/g" -e "s/YY/PAT_DESC_Y_/g" > pat_desc_y.h
|
| $(SED) -e "s/yy/pat_decl_y_/g" -e "s/YY/PAT_DECL_Y_/g" > pat_desc_y.h
|
||||||
|
|
||||||
#$(SED) -e "s/yy/pat_desc_y_/g" -e "s/YY/PAT_DESC_Y_/g" > pat_desc_y.c && $(SED) -e "s/yy/pat_desc_y_/g" -e "s/YY/PAT_DESC_Y_/g" y.tab.h > pat_desc_y.h
|
#$(SED) -e "s/yy/pat_desc_y_/g" -e "s/YY/PAT_DESC_Y_/g" > pat_desc_y.c && $(SED) -e "s/yy/pat_desc_y_/g" -e "s/YY/PAT_DESC_Y_/g" y.tab.h > pat_desc_y.h
|
||||||
# $(SED) -e "s/yyin/pat_decl_y_/g" -e "s/yylex/pat_decl_y_lex/g" y.tab.c |
|
# $(SED) -e "s/yyin/pat_decl_y_/g" -e "s/yylex/pat_decl_y_lex/g" y.tab.c |
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
%{
|
%{
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <stdio.h>
|
||||||
#include <malloc/malloc.h>
|
#include <stdlib.h>
|
||||||
# include <mut.h>
|
# include <mut.h>
|
||||||
# include <mlo.h>
|
# include <mlo.h>
|
||||||
# include <mph.h>
|
# include <mph.h>
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
| |
|
| |
|
||||||
\------------------------------------------------------------*/
|
\------------------------------------------------------------*/
|
||||||
|
|
||||||
# include <malloc/malloc.h>
|
|
||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
# include "mut.h"
|
# include "mut.h"
|
||||||
|
|
Loading…
Reference in New Issue