[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: const pains with lpcode in Lpeg 0.11
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 30 Mar 2013 16:40:20 -0300
> Any other language lawyers want to chime in? It might be worth
> refactoring this code to avoid the situation all together: there are
> still quite a few embedded compilers out there based on the Norcroft
> frontend.
I will refactor it; probably I will enclose the array inside a structure.
We should avoid code that needs language lawyers, and "arrays as types"
is a stange beast in C.
-- Roberto