From 6b54003fd093985370b6a14976aaba5374f9e00d Mon Sep 17 00:00:00 2001 From: Partouf Date: Tue, 17 Apr 2018 19:36:25 +0200 Subject: missed a slash --- lib/compilers/golang.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/compilers/golang.js') 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*\()\s*([A-Z]+)(.*)/; + const reUnknown = /^\s+(0[xX]?[0-9A-Za-z]+)?\s?[0-9]+\s*\(\)\s*([A-Z]+)(.*)/; let prevLine = null; let file = null; let fileCount = 0; -- cgit v1.2.3