A2306: Macro not closed at end of source

[ERROR]

Description

An ENDM directive is missing at the end of a macro. The end of the input file is detected before the end of the macro.

Example
  allocChar: MACRO

             DC.B \1

  myData:    SECTION SHORT

  char1:     DS.B 1

  char2:     DS.B 1

  myConst:   SECTION SHORT

  init1:     DC.B $33

  init2:     DC.B $43

  ...
  
Tips

Insert the missing ENDM directive at the end of the macro.

Example
  allocChar: MACRO

             DC.B \1

             ENDM

  myData:    SECTION SHORT

  char1:     DS.B 1

  char2:     DS.B 1

  myConst:   SECTION SHORT

  init1:     DC.B $33

  init2:     DC.B $43

  ...