jsre: try to fix nightlies (#15057)
This commit is contained in:
parent
12a9fe017e
commit
4b93c61f0d
2 changed files with 5 additions and 1 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
## Regular Expressions for the JavaScript target.
|
## Regular Expressions for the JavaScript target.
|
||||||
## * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
|
## * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
|
||||||
|
|
||||||
|
when not defined(js) and not defined(Nimdoc):
|
||||||
|
{.error: "This module only works on the JavaScript platform".}
|
||||||
|
|
||||||
type RegExp* {.importjs.} = object ## Regular Expressions for JavaScript target.
|
type RegExp* {.importjs.} = object ## Regular Expressions for JavaScript target.
|
||||||
flags* {.importjs.}: cstring ## cstring that contains the flags of the RegExp object.
|
flags* {.importjs.}: cstring ## cstring that contains the flags of the RegExp object.
|
||||||
dotAll* {.importjs.}: bool ## Whether `.` matches newlines or not.
|
dotAll* {.importjs.}: bool ## Whether `.` matches newlines or not.
|
||||||
|
|
|
||||||
|
|
@ -160,6 +160,7 @@ lib/posix/posix_linux_amd64_consts.nim
|
||||||
lib/posix/posix_other_consts.nim
|
lib/posix/posix_other_consts.nim
|
||||||
lib/posix/posix_openbsd_amd64.nim
|
lib/posix/posix_openbsd_amd64.nim
|
||||||
lib/posix/posix_haiku.nim
|
lib/posix/posix_haiku.nim
|
||||||
|
lib/js/jsre.nim
|
||||||
""".splitWhitespace()
|
""".splitWhitespace()
|
||||||
|
|
||||||
when (NimMajor, NimMinor) < (1, 1) or not declared(isRelativeTo):
|
when (NimMajor, NimMinor) < (1, 1) or not declared(isRelativeTo):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue