A2325: Comma or Line end expected

[ERROR]

Description

An incorrect syntax has been detected in a DC, FCB, FDB, FQB, XDEF, PUBLIC, GLOBAL, XREF or EXTERNAL directive. This error message is generated when the values enumerated in one of the directive enumerated above are not terminated by an end of line character, or when they are not separated by a ',' character.

Example
        XDEF  dataLab1 dataLab2

        XREF  bb1, bb2, bb3, bb4    This is a comment

        ; ...

  dataSec: SECTION

  dataLab1: DC.B 2 | 4 | 6 | 8

  dataLab2: FCB  45, 66, 88     label3:DC.B 4
  
Tips

Use the ',' character as separator between the different items in the list or insert an end of line at the end of the enumeration.

Example
        XDEF  dataLab1, dataLab2

        XREF  bb1, bb2, bb3, bb4    ;This is a comment

        ; ...

  dataSec: SECTION

  dataLab1: DC.B 2, 4, 6, 8

  dataLab2: FCB  45, 66, 88

  label3:   DC.B 4