Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Preprocessor can't match any ELSE or ENDIF statements to the corresponding IFDEF or IFNDEF #232

Description

@unbibium

Here's the source file:

.DEFINE TESTVAR 1 

:START
   SET A, 1
.IFDEF TESTVAR
   SET B, 3
.ENDIF
   SET PC, START

Attempting to assemble with dtasm gives this:

error: free occuring .ENDIF without a matching .IF near line 7 of 'definetest.dasm16'
assembler: error occurred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions