#Why am I getting this build error?

1 messages · Page 1 of 1 (latest)

glad moat
#

Here is my keymap: https://pastebin.com/HeGN0ZRD

I am getting the error
keymap:69 (column 114): parse error: expected number or parenthesized expression

Which corresponds to the first space in &hm LALT UNDER

I have no idea what this error is telling me since I have done &hm LALT ... loads of times previous in the keymap but this one errors.

solemn monolith
#

What's "&hb"? I don't see that defined in the key map, so I'm guessing that's the problem.

glad moat
#

have edited the post

glad moat
#

changing &hm LALT UNDER to &kp UNDER still gets the same error at the exact same position

#

Something weird is happening

#

I have added a bunch of whitespace to the file and yet the error is in the exact same row/column

#

Is the Github actions doing some preprocessing and then the error is relative to the positions in that file?

remote inlet
#

It might be more helpful to share the link to the Github repo

glad moat
#

I think that there might be something else going wrong in the logs for that action

remote inlet
#

I think the issue is &hm LALT QT you might have meant SQT or DQT

glad moat
#

Yeah that was it. Thanks. Not sure why the error was referring to later in the line

remote inlet
#

The column number won't match because it refers to the position after the preprocessor expands the keycodes into hex codes