Skip to content

Preprocessor macro support (#define, #ifdef) #70

Description

@ForNeVeR

We should support simple macro definitions and usage. Say, this should be valid:

#define foo main
#ifdef foo
  int foo() { return 0; }
#endif

Note that there's no fancy stuff (like #if defined(), or any non-trivial preprocessor expressions) in this issue, yet.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions