Commit 7f26554 1 parent 1fe73cd commit 7f26554 Copy full SHA for 7f26554
File tree 3 files changed +3
-17
lines changed
3 files changed +3
-17
lines changed Original file line number Diff line number Diff line change 1
- * .tas.cpp linguist-language =tenyr
1
+ * .tas linguist-language =tenyr
Original file line number Diff line number Diff line change 5
5
extension tas
6
6
3rd_gen_scale 0.15
7
7
end_of_line_continuation \\$
8
- tenyr + cpp
9
- filter remove_matches ^\s*//
10
- filter remove_inline //.*$
11
- filter remove_inline #.*$
12
- filter call_regexp_common C
13
- extension tas.cpp
14
- extension th
15
- 3rd_gen_scale 0.20
16
- end_of_line_continuation \\$
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # Usage: dogfood.sh tempfile-stem path-to-tas file.tas[.cpp] [ files... ]
2
+ # Usage: dogfood.sh tempfile-stem path-to-tas file.tas [ files... ]
3
3
set -o pipefail
4
4
if (( V > 1 )) ; then ECHO=echo ; else ECHO=true ; fi
5
5
here=` dirname $BASH_SOURCE `
@@ -64,12 +64,7 @@ for flags in -v "" ; do
64
64
for fmt in memh text ; do
65
65
for file in $* ; do
66
66
trap " rm $base .$fmt .{en,de}.[0123]" EXIT
67
- if [[ $file = * .cpp ]] ; then
68
- pp=" ${CC:- cc} -E -I$here /../lib"
69
- else
70
- pp=cat
71
- fi
72
- $pp $file | cycle $fmt
67
+ cat $file | cycle $fmt
73
68
if [[ $? != 0 ]] ; then fail $fmt $file ; fi
74
69
match $fmt en $file
75
70
done & pids+=( $! )
You can’t perform that action at this time.
0 commit comments