🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Francois Pinard Sun, 27 Dec 1992 14:52
regex.c and CHAR_SET_SIZE
#1158
Author: Francois Pinard
Date: Sun, 27 Dec 1992 14:52
22 lines
1128 bytes
In regex.c 0.11, CHAR_SET_SIZE is defined only if SYNTAX_TABLE is not
defined.  As a matter of convenience, why not simply:

#ifndef CHAR_SET_SIZE 256
#define CHAR_SET_SIZE 256
#endif

after the SYNTAX_TABLE if.  So one could redefine it if needed, but
not being forced to.  Even better, one could parallel an:

extern int char_set_size;

to:

extern char *re_syntax_table;

so the user could dynamically provide both the table and its size.

-- 
Franc,ois Pinard       ``Happy GNU Year!''      pinard@iro.umontreal.ca
(514) 588-4656                                   ...!uunet!iros1!pinard
About the League for Programming Freedom?  Email me or lpf@uunet.uu.net
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads