64 |
}; |
}; |
65 |
|
|
66 |
|
|
|
/*-----------------------------------------------------------------------. |
|
|
| Change the regular expression used for breaking the input into words. | |
|
|
| The function set_word_regexp () lives in input.c. | |
|
|
`-----------------------------------------------------------------------*/ |
|
67 |
|
|
68 |
/* Change the regular expression used to recognise words in the input. */ |
/* Change the regular expression used for breaking the input into words. |
69 |
|
The function set_word_regexp () lives in input.c. */ |
70 |
|
|
71 |
|
/** |
72 |
|
* changeword(REGEXP) |
73 |
|
**/ |
74 |
M4BUILTIN_HANDLER (changeword) |
M4BUILTIN_HANDLER (changeword) |
75 |
{ |
{ |
76 |
if (m4_bad_argc (argv[0], argc, 2, 2)) |
if (m4_bad_argc (argv[0], argc, 2, 2)) |
77 |
return; |
return; |
78 |
|
|
79 |
|
/* Change the regular expression used to recognise words in the input. */ |
80 |
m4_set_word_regexp (M4ARG (1)); |
m4_set_word_regexp (M4ARG (1)); |
81 |
} |
} |
82 |
|
|
83 |
#else |
#else |
84 |
|
|
85 |
|
/** |
86 |
|
* changeword(REGEXP) |
87 |
|
**/ |
88 |
M4BUILTIN_HANDLER (changeword) |
M4BUILTIN_HANDLER (changeword) |
89 |
{ |
{ |
90 |
M4ERROR ((EXIT_FAILURE, 0, |
M4ERROR ((EXIT_FAILURE, 0, |