diff options
Diffstat (limited to 'lib/compilers/golang.js')
-rw-r--r-- | lib/compilers/golang.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compilers/golang.js b/lib/compilers/golang.js index 9c6761f7b..434e3a693 100644 --- a/lib/compilers/golang.js +++ b/lib/compilers/golang.js @@ -43,6 +43,8 @@ const jumpPrefixes = [ ]; class GolangCompiler extends BaseCompiler { + static get key() { return 'golang'; } + convertNewGoL(code) { const re = /^\s+(0[Xx]?[\dA-Za-z]+)?\s?(\d+)\s*\(([^:]+):(\d+)\)\s*([A-Z]+)(.*)/; const reUnknown = /^\s+(0[Xx]?[\dA-Za-z]+)?\s?(\d+)\s*\(<unknown line number>\)\s*([A-Z]+)(.*)/; |