>> + * regex.c: make se_max a constant. > > Does an enum, like in the example below, work? I would prefer to keep ed > free of macros.
Using an enum works.
> enum { se_max = 30 }; /* max subexpressions in a regular expression */
> regmatch_t rm[se_max];
I tested this change and it works.
-Thomas
_______________________________________________
bug-ed mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ed
