class AdLint::Cpp::StdcIec559ComplexMacro

Public Class Methods

new() click to toggle source
Calls superclass method AdLint::Cpp::SpecialMacro::new
# File lib/adlint/cpp/macro.rb, line 564
def initialize
  super("__STDC_IEC_559_COMPLEX__")
end

Private Instance Methods

generate_replacement_list(tok) click to toggle source
# File lib/adlint/cpp/macro.rb, line 569
def generate_replacement_list(tok)
  PPTokens.new.push(Token.new(:PP_TOKEN, "0", tok.location, :CONSTANT))
end