Changeset 76934fb for src/Parser
- Timestamp:
- Jun 1, 2015, 12:55:33 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 6db50d5
- Parents:
- 46cbfe1 (diff), db82596 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src/Parser
- Files:
-
- 3 added
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/Parser.cc
r46cbfe1 r76934fb 10 10 // Created On : Sat May 16 14:54:28 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : S at May 16 14:55:59 201513 // Update Count : 212 // Last Modified On : Sun May 31 23:45:19 2015 13 // Update Count : 4 14 14 // 15 15 … … 17 17 #include "TypedefTable.h" 18 18 #include "lex.h" 19 #include " cfa.tab.h"19 #include "parser.h" 20 20 21 21 // global variables in cfa.y -
src/Parser/lex.ll
r46cbfe1 r76934fb 10 10 * Created On : Sat Sep 22 08:58:10 2001 11 11 * Last Modified By : Peter A. Buhr 12 * Last Modified On : Tue May 19 15:41:54201513 * Update Count : 33 112 * Last Modified On : Sun May 31 23:41:32 2015 13 * Update Count : 334 14 14 */ 15 15 … … 27 27 #include "lex.h" 28 28 #include "ParseNode.h" 29 #include " cfa.tab.h" // YACC generated definitions based on C++ grammar29 #include "parser.h" // YACC generated definitions based on C++ grammar 30 30 31 31 char *yyfilename; -
src/Parser/module.mk
r46cbfe1 r76934fb 8 8 ## module.mk -- 9 9 ## 10 ## Author : Richard C. Bilson10 ## Author : Peter A. Buhr 11 11 ## Created On : Sat May 16 15:29:09 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Thu May 21 21:17:07201514 ## Update Count : 213 ## Last Modified On : Mon Jun 1 08:16:25 2015 14 ## Update Count : 83 15 15 ############################################################################### 16 16 17 YACC=bison 18 YFLAGS=-d --debug -v 19 LEX=flex 20 LFLAGS= 17 BUILT_SOURCES = Parser/parser.h 21 18 22 SRC += Parser/cfa.y \ 23 Parser/lex.l \ 19 AM_YFLAGS = -d -t -v 20 cfa_cpp_LDADD = ${LEXLIB} # yywrap 21 MAINTAINERCLEANFILES = Parser/parser.output 22 23 SRC += Parser/parser.yy \ 24 Parser/lex.ll \ 24 25 Parser/TypedefTable.cc \ 25 26 Parser/ParseNode.cc \ … … 32 33 Parser/parseutility.cc \ 33 34 Parser/Parser.cc 34 35 EXTRA_OUTPUT += Parser/cfa.tab.cc \36 Parser/cfa.tab.h \37 Parser/lex.yy.cc \38 Parser/cfa.output39 40 LIBS += -lfl41 42 Parser/Parser.cc: Parser/cfa.tab.h43 44 Parser/cfa.tab.cc: Parser/cfa.y45 $(YACC) $(YFLAGS) $< --file-prefix=Parser/cfa46 -mv Parser/cfa.tab.c Parser/cfa.tab.cc47 48 Parser/cfa.tab.h: Parser/cfa.tab.cc49 50 Parser/lex.yy.cc: Parser/lex.l Parser/cfa.tab.h Parser/TypedefTable.h51 $(LEX) $(LFLAGS) -o$@ $<52 53 Parser/lex.yy.o: Parser/lex.yy.cc Parser/ParseNode.h54 $(CXX) $(CXXFLAGS) -Wno-unused -c -o $@ $< -
src/Parser/parser.yy
r46cbfe1 r76934fb 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed May 27 09:20:53201513 // Update Count : 101 512 // Last Modified On : Sun May 31 18:50:30 2015 13 // Update Count : 1016 14 14 // 15 15
Note:
See TracChangeset
for help on using the changeset viewer.