Skip to content

Commit

Permalink
exclude windows messages from mac/linux parsers
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenesvk committed May 27, 2024
1 parent e37481e commit a27b731
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parser/src/cfg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1660,9 +1660,13 @@ fn parse_action_list(ac: &[SExpr], s: &ParserState) -> Result<&'static KanataAct
CMD => parse_cmd(&ac[1..], s, CmdType::Standard),
CMD_OUTPUT_KEYS => parse_cmd(&ac[1..], s, CmdType::OutputKeys),
PUSH_MESSAGE => parse_push_message(&ac[1..], s),
#[cfg(any(target_os = "windows", target_os = "unknown"))]
SEND_WMSG_SYNC => win_send_message(&ac[1..], s, SEND_WMSG_SYNC),
#[cfg(any(target_os = "windows", target_os = "unknown"))]
SEND_WMSG_SYNC_A => win_send_message(&ac[1..], s, SEND_WMSG_SYNC_A),
#[cfg(any(target_os = "windows", target_os = "unknown"))]
SEND_WMSG_ASYNC => win_post_message(&ac[1..], s, SEND_WMSG_ASYNC),
#[cfg(any(target_os = "windows", target_os = "unknown"))]
SEND_WMSG_ASYNC_A => win_post_message(&ac[1..], s, SEND_WMSG_ASYNC_A),
FORK => parse_fork(&ac[1..], s),
CAPS_WORD | CAPS_WORD_A => {
Expand Down

0 comments on commit a27b731

Please sign in to comment.