aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/golang.js
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2018-04-17 19:36:25 +0200
committerPartouf <partouf@gmail.com>2018-04-17 19:36:25 +0200
commit6b54003fd093985370b6a14976aaba5374f9e00d (patch)
tree1eb0f4755386de2c186581464d16f8eb5a7516ea /lib/compilers/golang.js
parent22a87bcc67551cb8b566268470e118ad53155196 (diff)
downloadcompiler-explorer-6b54003fd093985370b6a14976aaba5374f9e00d.tar.gz
compiler-explorer-6b54003fd093985370b6a14976aaba5374f9e00d.zip
missed a slash
Diffstat (limited to 'lib/compilers/golang.js')
-rw-r--r--lib/compilers/golang.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/golang.js b/lib/compilers/golang.js
index e4b10dff8..94c84e964 100644
--- a/lib/compilers/golang.js
+++ b/lib/compilers/golang.js
@@ -28,7 +28,7 @@ const BaseCompiler = require('../base-compiler'),
class GolangCompiler extends BaseCompiler {
convertNewGoL(code) {
const re = /^\s+(0[xX]?[0-9A-Za-z]+)?\s?[0-9]+\s*\(([^:]+):([0-9]+)\)\s*([A-Z]+)(.*)/;
- const reUnknown = /^\s+(0[xX]?[0-9A-Za-z]+)?\s?[0-9]+\s*\(<unknown line number>)\s*([A-Z]+)(.*)/;
+ const reUnknown = /^\s+(0[xX]?[0-9A-Za-z]+)?\s?[0-9]+\s*\(<unknown line number>\)\s*([A-Z]+)(.*)/;
let prevLine = null;
let file = null;
let fileCount = 0;