[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ed] [PATCH] minix port
From: |
Thomas Cort |
Subject: |
Re: [Bug-ed] [PATCH] minix port |
Date: |
Wed, 12 May 2010 14:36:07 -0400 |
>> + * 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