Skip to content

Commit

Permalink
looks like some generated files need to be allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
cooljeanius committed Sep 3, 2024
1 parent 1a0b6d5 commit 24d82d4
Show file tree
Hide file tree
Showing 14 changed files with 272 additions and 35 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ build-aux/mkinstalldirs linguist-vendored
build-aux/test-driver linguist-vendored
ChangeLog merge=cl-merge
*.g linguist-language=ANTLR
src/EsterelTokenTypes.txt linguist-generated
src/EsterelTreeParserTokenTypes.txt linguist-generated
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ clean-test
*.dirstamp
Makefile
*/Makefile
src/EsterelTokenTypes.txt
src/EsterelTreeParserTokenTypes.txt
src/cec
src/test*.*
src/test-*.*
src/test*.trs
cec-strlxml
cec-xmlstrl
cec-expandmodules
Expand Down
2 changes: 1 addition & 1 deletion src/EsterelLexer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $ANTLR 2.7.7 (2006-11-01): "esterel.g" -> "EsterelLexer.cpp"$ */
/* $ANTLR 2.7.7 (20200704): "esterel.g" -> "EsterelLexer.cpp"$ */
#include "EsterelLexer.hpp"
#include <antlr/CharBuffer.hpp>
#include <antlr/TokenStreamException.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/EsterelLexer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define INC_EsterelLexer_hpp_

#include <antlr/config.hpp>
/* $ANTLR 2.7.7 (2006-11-01): "esterel.g" -> "EsterelLexer.hpp"$ */
/* $ANTLR 2.7.7 (20200704): "esterel.g" -> "EsterelLexer.hpp"$ */
#include <antlr/CommonToken.hpp>
#include <antlr/InputBuffer.hpp>
#include <antlr/BitSet.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/EsterelParser.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $ANTLR 2.7.7 (2006-11-01): "esterel.g" -> "EsterelParser.cpp"$ */
/* $ANTLR 2.7.7 (20200704): "esterel.g" -> "EsterelParser.cpp"$ */
#include "EsterelParser.hpp"
#include <antlr/NoViableAltException.hpp>
#include <antlr/SemanticException.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/EsterelParser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define INC_EsterelParser_hpp_

#include <antlr/config.hpp>
/* $ANTLR 2.7.7 (2006-11-01): "esterel.g" -> "EsterelParser.hpp"$ */
/* $ANTLR 2.7.7 (20200704): "esterel.g" -> "EsterelParser.hpp"$ */
#include <antlr/TokenStream.hpp>
#include <antlr/TokenBuffer.hpp>
#include "EsterelTokenTypes.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/EsterelTokenTypes.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef INC_EsterelTokenTypes_hpp_
#define INC_EsterelTokenTypes_hpp_

/* $ANTLR 2.7.7 (2006-11-01): "esterel.g" -> "EsterelTokenTypes.hpp"$ */
/* $ANTLR 2.7.7 (20200704): "esterel.g" -> "EsterelTokenTypes.hpp"$ */

#ifndef CUSTOM_API
# define CUSTOM_API
Expand Down
123 changes: 123 additions & 0 deletions src/EsterelTokenTypes.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/EsterelTreeParser.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $ANTLR 2.7.7 (2006-11-01): "staticsemantics.g" -> "EsterelTreeParser.cpp"$ */
/* $ANTLR 2.7.7 (20200704): "staticsemantics.g" -> "EsterelTreeParser.cpp"$ */
#include "EsterelTreeParser.hpp"
#include <antlr/Token.hpp>
#include <antlr/AST.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/EsterelTreeParser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <antlr/config.hpp>
#include "EsterelTreeParserTokenTypes.hpp"
/* $ANTLR 2.7.7 (2006-11-01): "staticsemantics.g" -> "EsterelTreeParser.hpp"$ */
/* $ANTLR 2.7.7 (20200704): "staticsemantics.g" -> "EsterelTreeParser.hpp"$ */
#include <antlr/TreeParser.hpp>

#line 1 "staticsemantics.g"
Expand Down
2 changes: 1 addition & 1 deletion src/EsterelTreeParserTokenTypes.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef INC_EsterelTreeParserTokenTypes_hpp_
#define INC_EsterelTreeParserTokenTypes_hpp_

/* $ANTLR 2.7.7 (2006-11-01): "staticsemantics.g" -> "EsterelTreeParserTokenTypes.hpp"$ */
/* $ANTLR 2.7.7 (20200704): "staticsemantics.g" -> "EsterelTreeParserTokenTypes.hpp"$ */

#ifndef CUSTOM_API
# define CUSTOM_API
Expand Down
123 changes: 123 additions & 0 deletions src/EsterelTreeParserTokenTypes.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 14 additions & 10 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,11 @@ balvm.c : cec

# GRC to VHDL translator

#cec_grcvhdl_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp \
#cec-grcvhdl.cpp VHDLPrinter.hpp VHDLPrinter.cpp \
#EsterelPrinter.hpp EsterelPrinter.cpp
if FALSE
cec_grcvhdl_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp \
cec-grcvhdl.cpp VHDLPrinter.hpp VHDLPrinter.cpp \
EsterelPrinter.hpp EsterelPrinter.cpp
endif

# Undocumented programs:

Expand All @@ -307,13 +309,15 @@ cec_v5_cmain_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp CPrinter.hpp \
cec_vm_wrapper_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp CPrinter.hpp \
CPrinter.cpp cec-vm-wrapper.cpp

#cec_vvpout_SOURCES = vvp2out.cpp
#cec_merge_simout_SOURCES = merge_simout.cpp
#cec_v5_vinterface_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp \
# cverilog.cpp cverilog_gates.cpp cverilog.hpp prblif.cpp\
# v5_vinterface.cpp
#cec_ublaze_interface_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp \
# ublaze_interface.cpp
if FALSE
cec_vvpout_SOURCES = vvp2out.cpp
cec_merge_simout_SOURCES = merge_simout.cpp
cec_v5_vinterface_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp \
cverilog.cpp cverilog_gates.cpp cverilog.hpp prblif.cpp\
v5_vinterface.cpp
cec_ublaze_interface_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp \
ublaze_interface.cpp
endif

#
# Executables end
Expand Down
14 changes: 0 additions & 14 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -825,12 +825,6 @@ cec_grcbal_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp \
# BAL virtual machine (simulator)
cec_vm_SOURCES = cec-vm.c balvm.c balvm.h balvm-instructions.h

# GRC to VHDL translator

#cec_grcvhdl_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp \
# #cec-grcvhdl.cpp VHDLPrinter.hpp VHDLPrinter.cpp \
# #EsterelPrinter.hpp EsterelPrinter.cpp

# Undocumented programs:
cec_v5_cmain_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp CPrinter.hpp \
CPrinter.cpp cec-v5-cmain.cpp
Expand All @@ -839,14 +833,6 @@ cec_vm_wrapper_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp CPrinter.hpp \
CPrinter.cpp cec-vm-wrapper.cpp


#cec_vvpout_SOURCES = vvp2out.cpp
#cec_merge_simout_SOURCES = merge_simout.cpp
#cec_v5_vinterface_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp \
# cverilog.cpp cverilog_gates.cpp cverilog.hpp prblif.cpp\
# v5_vinterface.cpp
#cec_ublaze_interface_SOURCES = IR.hpp IR.cpp AST.hpp AST.cpp \
# ublaze_interface.cpp

#
# Executables end
#
Expand Down

0 comments on commit 24d82d4

Please sign in to comment.