We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c339a commit 5cb02ceCopy full SHA for 5cb02ce
1 file changed
tests/productions/Makefile
@@ -0,0 +1,24 @@
1
+SYNTAX = ../../src/syntax
2
+
3
+all : check
4
5
+$(SYNTAX)/Fortran.tbl :
6
+ cd $(SYNTAX) ; make ; cd -
7
8
+check : $(SYNTAX)/Fortran.tbl
9
+ @for file in *.f90 ; do \
10
+ echo "Running test $$file"; \
11
+ sglri -p $(SYNTAX)/Fortran.tbl -i $$file -o $$file.ast; \
12
+ if test $$? != 0 ; then \
13
+ echo $$file " FAILED!"; \
14
+ fi; \
15
+ pp-aterm -i $$file.ast -o $$file.ast.aterm; \
16
+ done;
17
18
+junk :
19
+ sglri -p $(SYNTAX)/Fortran.tbl -i junk.f90 -o junk.f90.ast
20
+ pp-aterm -i junk.f90.ast -o junk.f90.aterm
21
22
+clean :
23
+ rm -f *.ast *.ast.aterm
24
+ rm -f *.o *.mod
0 commit comments