Fix ups for release of D

dev/git-series/gccdum
Matt Godbolt 11 years ago
parent 9bd9396b3f
commit 3f05562218

@ -0,0 +1,9 @@
# Settings overridden for Amazon EC2 instances running D that power http://gcc.godbolt.org/
port=10241
compileTimeoutMs=1500
compilers=/usr/bin/gdc:/usr/bin/gdc-4.4:/usr/bin/gdc-4.6
compileFilename=example.d
postProcess=d/demangle
compiler-wrapper=./c-preload/compiler-wrapper
max-asm-size=262144

@ -2,3 +2,5 @@
port=10240
compileTimeoutMs=1000
compilers=/usr/bin/g++-4.4:/usr/bin/g++-4.5:/usr/bin/g++-4.6:/usr/bin/g++-4.7:/usr/bin/clang++
compileFilename=example.cpp
postProcess=c++filt

@ -23,13 +23,13 @@
// POSSIBILITY OF SUCH DAMAGE.
function parseLines(lines, callback) {
var re = /^\<stdin\>:([0-9]+):([0-9]+):\s+(.*)/;
var re = /^\/tmp\/[^:]+:([0-9]+)(:([0-9]+))?:\s+(.*)/;
$.each(lines.split('\n'), function(_, line) {
line = line.trim();
if (line != "") {
var match = line.match(re);
if (match) {
callback(parseInt(match[1]), match[3]);
callback(parseInt(match[1]), match[4]);
} else {
callback(null, line);
}

Loading…
Cancel
Save