Browse Source

Mostly repair the 6g compiler

dev/git-series/gccdum
Matt Godbolt 6 years ago
parent
commit
0a91ea30a2
  1. 8
      etc/config/go.lud-mgodbolt01.properties
  2. 3
      lib/compilers/6g.js

8
etc/config/go.lud-mgodbolt01.properties

@ -0,0 +1,8 @@
defaultCompiler=6g
compilers=6g
compileFilename=file.go
compiler.6g.exe=/home/mgodbolt/apps/go/go/pkg/tool/linux_amd64/6g
compiler.6g.name=Yah
compiler.6g.versionFlag=-V
compiler.6g.compilerType=6g
compiler.6g.supportsBinary=false

3
lib/compilers/6g.js

@ -23,6 +23,7 @@
// POSSIBILITY OF SUCH DAMAGE.
var Compile = require('../base-compiler');
var _ = require('underscore-node');
function compile6g(info, env) {
function convert6g(code) {
@ -30,7 +31,7 @@ function compile6g(info, env) {
var prevLine = null;
var file = null;
return code.map(function (obj) {
var line = obj.line;
var line = obj.text;
var match = line.match(re);
if (match) {
var res = "";

Loading…
Cancel
Save