Skip to content

Correctly highlight object constant overrides #19

Description

@ironsheep

Is your feature request related to a problem? Please describe.
Highlight this correctly

'' We try to positionally match the NeoGeo mini controller (NESW is CDBA)
'' Therefore, A = BT3, B = BT2, C = BT0 or BT6, D = BT1 or BT7
usb: "usbnew" | ACTIVITY_LED = -1, ERROR_LED = -1, USB_BASE_PIN = USB0_BASEPIN, OVERLAP_MEMORY = true, ...
                EMUPAD_MAX_DEV = 2, ...
                EMUPAD_UP_BIT = 0,EMUPAD_DOWN_BIT = 1,EMUPAD_LEFT_BIT = 2,EMUPAD_RIGHT_BIT = 3, ...
                EMUPAD_BT0_BIT = 6, EMUPAD_BT1_BIT = 7, EMUPAD_BT2_BIT = 5, EMUPAD_BT3_BIT = 4, ...
                EMUPAD_BT4_BIT = -1, EMUPAD_BT5_BIT = -1, EMUPAD_BT6_BIT = 6, EMUPAD_BT7_BIT = 7,  ...
                EMUPAD_BT8_BIT = 9, EMUPAD_BT9_BIT = 8, ...
                EMUPAD_KB_BT0 = $06, EMUPAD_KB_BT1 = $19, EMUPAD_KB_BT2 = $1B, EMUPAD_KB_BT3 = $1D, ...
                EMUPAD_KB_BT4 = 0, EMUPAD_KB_BT5 = 0, EMUPAD_KB_BT6 = 0, EMUPAD_KB_BT7 = 0, ...
                EMUPAD_KB_BT8 = $2A, EMUPAD_KB_BT9 = $28

Describe the solution you'd like
Line continuation is messing with later highlights throughout file

Describe alternatives you've considered
N/A

Additional context
This is a newer feature of spin2 language

REF: https://github.com/IRQsome/NeoYume/blob/slot-interleave/neoyume_input.spin2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions