Skip to content

error 057: unfinished expression before compiler directive #402

Open
@Y-Less

Description

@Y-Less

Issue description:

It would be very nice if the following would work:

Minimal complete verifiable example (MCVE):

#define AA 1

main()
{
	new a =
		#if AA
			5;
		#else
			6;
		#endif
}

Workspace Information:

  • Compiler version:
  • Command line arguments provided (or sampctl version):
  • Operating System:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions