Skip to content
This repository has been 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

Open
unbibium opened this issue Mar 12, 2013 · 0 comments

Comments

@unbibium
Copy link

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant