Changeset 56c3935 for src/Parser


Ignore:
Timestamp:
Jun 1, 2015, 12:00:51 AM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
6081e74e
Parents:
5cb5f842
Message:

redo automake third attempt

Location:
src/Parser
Files:
2 added
2 edited
2 moved

Legend:

Unmodified
Added
Removed
  • src/Parser/Parser.cc

    r5cb5f842 r56c3935  
    1010// Created On       : Sat May 16 14:54:28 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat May 16 14:55:59 2015
    13 // Update Count     : 2
     12// Last Modified On : Sun May 31 23:45:19 2015
     13// Update Count     : 4
    1414//
    1515
     
    1717#include "TypedefTable.h"
    1818#include "lex.h"
    19 #include "cfa.tab.h"
     19#include "parser.h"
    2020
    2121// global variables in cfa.y
  • src/Parser/lex.ll

    r5cb5f842 r56c3935  
    1010 * Created On       : Sat Sep 22 08:58:10 2001
    1111 * Last Modified By : Peter A. Buhr
    12  * Last Modified On : Tue May 19 15:41:54 2015
    13  * Update Count     : 331
     12 * Last Modified On : Sun May 31 23:41:32 2015
     13 * Update Count     : 334
    1414 */
    1515
     
    2727#include "lex.h"
    2828#include "ParseNode.h"
    29 #include "cfa.tab.h"                                                                    // YACC generated definitions based on C++ grammar
     29#include "parser.h"                                                                     // YACC generated definitions based on C++ grammar
    3030
    3131char *yyfilename;
  • src/Parser/module.mk

    r5cb5f842 r56c3935  
    88## module.mk --
    99##
    10 ## Author           : Richard C. Bilson
     10## Author           : Peter A. Buhr
    1111## Created On       : Sat May 16 15:29:09 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Sat May 30 12:05:42 2015
    14 ## Update Count     : 16
     13## Last Modified On : Sun May 31 23:52:20 2015
     14## Update Count     : 76
    1515###############################################################################
    1616
    17 BUILT_SOURCES = Parser/cfa.tab.cc Parser/lex.yy.cc Parser/cfa.tab.h
     17BUILT_SOURCES = Parser/parser.h
    1818
    19 YACC=bison
    20 YFLAGS=-d --debug -v
    21 LEX=flex
    22 #LFLAGS=
     19AM_YFLAGS = -d -t -v
    2320
    24 SRC += Parser/cfa.tab.cc \
    25        Parser/lex.yy.cc \
     21MAINTAINERCLEANFILES = Parser/parser.output
     22
     23SRC += Parser/parser.yy \
     24       Parser/lex.ll \
    2625       Parser/TypedefTable.cc \
    2726       Parser/ParseNode.cc \
     
    3635
    3736LIBS += -lfl
    38 
    39 Parser/Parser.cc: Parser/cfa.tab.h
    40 
    41 Parser/cfa.tab.cc: Parser/cfa.y
    42         ${YACC} ${YFLAGS} $< --file-prefix=Parser/cfa
    43         -mv Parser/cfa.tab.c Parser/cfa.tab.cc
    44 
    45 Parser/cfa.tab.h: Parser/cfa.tab.cc
    46 
    47 Parser/lex.yy.cc: Parser/lex.l Parser/lex.h Parser/cfa.tab.h Parser/TypedefTable.h
    48         ${LEX} ${LFLAGS} -o$@ $<
    49 
    50 #Parser/lex.yy.o: Parser/lex.yy.cc Parser/ParseNode.h
    51 #       ${CXX} ${CXXFLAGS} -Wno-unused -c -o $@ $<
  • src/Parser/parser.yy

    r5cb5f842 r56c3935  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed May 27 09:20:53 2015
    13 // Update Count     : 1015
     12// Last Modified On : Sun May 31 18:50:30 2015
     13// Update Count     : 1016
    1414//
    1515
Note: See TracChangeset for help on using the changeset viewer.