Skip to content

Commented out stuff can be imported #175

@Dragorn421

Description

@Dragorn421

Confirmed for at least scene importing, by ZeeRoX
I assume this bug generalizes to most (all?) imports

Even if data is commented out in a .c, it can still be imported by fast64.

I think this is kind of expected behavior from a code perspective since C parsing is entirely regex-based afaik,
but it's confusing from a user perspective

An easy solution may be to strip comments from source before parsing (note: some stuff relies on comments for parsing, like the sm64 "keep block" thing I forgot the name of, maybe other stuff)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingf3dHas to do with the "f3d" code common to all games

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions