Exception: Rubycc::Pkgconf::ParseError

Inherits:
PkgconfError show all
Defined in:
lib/rubycc/pkgconf/errors.rb

Overview

The .pc text used a construct the parser does not accept: an unrecognized line, or a ${var} reference to a variable that was never assigned (in this file, at the point the reference appears — pkg-config itself requires forward-references to be avoided the same way).

Instance Method Summary collapse

Constructor Details

#initialize(message, path:, line_number:) ⇒ ParseError

Returns a new instance of ParseError.



21
22
23
# File 'lib/rubycc/pkgconf/errors.rb', line 21

def initialize(message, path:, line_number:)
  super("#{path || '<pc>'}:#{line_number}: #{message}")
end