diff --git a/ians-notes.txt b/ians-notes.txt index 3bfe198..1864d99 100644 --- a/ians-notes.txt +++ b/ians-notes.txt @@ -16,7 +16,10 @@ For linting: https://github.com/alecthomas/gometalinter -gometalinter.v2 ./... +brew tap alecthomas/homebrew-tap +brew install gometalinter + +gometalinter ./... For keeping up with the Jones: diff --git a/shared/parser.go b/shared/parser.go index 3033cc1..a643c29 100644 --- a/shared/parser.go +++ b/shared/parser.go @@ -205,14 +205,17 @@ func parse(argList []string) parserResult { "-pedantic": {0, pr.compileUnaryCallback}, "-x": {1, pr.compileBinaryCallback}, - "-g": {0, pr.compileUnaryCallback}, - "-g0": {0, pr.compileUnaryCallback}, - "-g1": {0, pr.compileUnaryCallback}, - "-ggdb": {0, pr.compileUnaryCallback}, - "-ggdb3": {0, pr.compileUnaryCallback}, - "-gdwarf-2": {0, pr.compileUnaryCallback}, - "-gdwarf-3": {0, pr.compileUnaryCallback}, - "-gline-tables-only": {0, pr.compileUnaryCallback}, + "-g": {0, pr.compileUnaryCallback}, + "-g0": {0, pr.compileUnaryCallback}, + "-g1": {0, pr.compileUnaryCallback}, + "-ggdb": {0, pr.compileUnaryCallback}, + "-ggdb3": {0, pr.compileUnaryCallback}, + "-gdwarf": {0, pr.compileUnaryCallback}, + "-gdwarf-2": {0, pr.compileUnaryCallback}, + "-gdwarf-3": {0, pr.compileUnaryCallback}, + "-gdwarf-4": {0, pr.compileUnaryCallback}, + "-gline-tables-only": {0, pr.compileUnaryCallback}, + "-grecord-gcc-switches": {0, pr.compileUnaryCallback}, "-p": {0, pr.compileUnaryCallback}, "-pg": {0, pr.compileUnaryCallback},