Sha256: 3c84f6e2bd18b5665e0742d73bc432d99049923517aafcc8e7fd70ab0d8caf11
Contents?: true
Size: 672 Bytes
Versions: 48
Compression:
Stored size: 672 Bytes
Contents
require_relative 'error_parser' module Bake class KeilLinkerErrorParser < ErrorParser def initialize() @error_expression = /([^:]+): (L[0-9]+[A-Z]: .+)/ end def scan_lines(consoleOutput, proj_dir) res = [] consoleOutput[0].each_line do |l| l.rstrip! d = ErrorDesc.new scan_res = l.scan(@error_expression) if scan_res.length > 0 d.file_name = proj_dir d.line_number = 0 d.message = scan_res[0][1] d.severity = get_severity(scan_res[0][0]) error_severity = d.severity end res << d end [res, consoleOutput[0]] end end end
Version data entries
48 entries across 48 versions & 1 rubygems