Skip to content

Refactor parsing gcc -E #126

@TApplencourt

Description

@TApplencourt

$parser.parse(preprocessed_sources_libc)
begin
  preprocessed_sources_libc = $cpp.preprocess
#include <stdint.h>
EOF
rescue
  C::Preprocessor.command = "gcc -E"
  preprocessed_sources_libc = $cpp.preprocess
#include <stdint.h>
EOF
end
$parser.parse(preprocessed_sources_libc.gsub(/^#.*?$/, ''))

Should be a function a re-used

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions