diff --git a/src/Language/Cimple/Lexer.x b/src/Language/Cimple/Lexer.x index 6a3bdca..a036bf9 100644 --- a/src/Language/Cimple/Lexer.x +++ b/src/Language/Cimple/Lexer.x @@ -66,6 +66,7 @@ tokens :- <0> "IP_ADAPTER_INFO" { mkL IdStdType } <0> "LPTSTR" { mkL IdStdType } <0> "u_long" { mkL IdStdType } +<0> "SOCKET" { mkL IdStdType } <0> "WSADATA" { mkL IdStdType } -- System struct types.