On 2014-10-28, Stuart Henderson <st...@openbsd.org> wrote:

> m4: /usr/obj/ports/bison-3.0.2/bison-3.0.2/data/location.cc at line 332: 
> regular expression error in ^(.)[       ]*(::)?([^][:]|:[^:])*: invalid 
> character class.

That's a regex problem.  Our regex(3) doesn't like [^][:].  That's
meant to be a single character class: match any char but ']', '[',
or ':'.  The issue is that the sequence [: is special and starts a
standard character class name, e.g. [:alpha:].

I don't know if that particular RE or our regex engine should be
considered at fault, but reordering the characters from [^][:] to
[^]:[] fixes this particular instance.

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to