mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 21:40:33 +02:00
* regex-posix.c (scm_init_regex_posix): Register the "regex"
feature, to help boot-9.scm decide whether to import the regex module.
This commit is contained in:
parent
05817d9e0e
commit
20044282fa
1 changed files with 3 additions and 0 deletions
|
@ -66,6 +66,7 @@
|
||||||
#include "vectors.h"
|
#include "vectors.h"
|
||||||
#include "strports.h"
|
#include "strports.h"
|
||||||
#include "ports.h"
|
#include "ports.h"
|
||||||
|
#include "feature.h"
|
||||||
|
|
||||||
#include "regex-posix.h"
|
#include "regex-posix.h"
|
||||||
|
|
||||||
|
@ -235,4 +236,6 @@ scm_init_regex_posix ()
|
||||||
{
|
{
|
||||||
scm_tc16_regex_t = scm_newsmob (®ex_t_smob);
|
scm_tc16_regex_t = scm_newsmob (®ex_t_smob);
|
||||||
#include "regex-posix.x"
|
#include "regex-posix.x"
|
||||||
|
|
||||||
|
scm_add_feature ("regex");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue