mirror of
https://github.com/nim-lang/Nim.git
synced 2026-03-07 00:57:08 +00:00
@@ -514,7 +514,8 @@ proc emitTok*(em: var Emitter; L: Lexer; tok: Token) =
|
||||
(not em.wasExportMarker or tok.tokType == tkCurlyDotLe):
|
||||
wrSpace em
|
||||
wr(em, $tok.tokType, ltSomeParLe)
|
||||
rememberSplit(splitParLe)
|
||||
if tok.tokType != tkCurlyDotLe:
|
||||
rememberSplit(splitParLe)
|
||||
of closedPars:
|
||||
wr(em, $tok.tokType, ltSomeParRi)
|
||||
of tkColonColon:
|
||||
|
||||
@@ -843,3 +843,7 @@ type
|
||||
SpinnyEvent2 = tuple
|
||||
kind: EventKind
|
||||
payload: string
|
||||
|
||||
|
||||
proc hid_open*(vendor_id: cushort; product_id: cushort; serial_number: cstring): ptr HidDevice {.
|
||||
importc: "hid_open", dynlib: hidapi.}
|
||||
|
||||
@@ -856,3 +856,8 @@ type
|
||||
SpinnyEvent2 = tuple
|
||||
kind: EventKind
|
||||
payload: string
|
||||
|
||||
|
||||
proc hid_open*(vendor_id: cushort; product_id: cushort;
|
||||
serial_number: cstring): ptr HidDevice {.
|
||||
importc: "hid_open", dynlib: hidapi.}
|
||||
|
||||
Reference in New Issue
Block a user