Exception: Rubycc::Pkgconf::ParseError
- Inherits:
-
PkgconfError
- Object
- StandardError
- Error
- PkgconfError
- Rubycc::Pkgconf::ParseError
- 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
-
#initialize(message, path:, line_number:) ⇒ ParseError
constructor
A new instance of ParseError.
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(, path:, line_number:) super("#{path || '<pc>'}:#{line_number}: #{}") end |