Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changes from BWK for Unicode support. More to do though.
  • Loading branch information
arnoldrobbins committed May 31, 2022
1 parent b92d8ce commit d322b2b
Show file tree
Hide file tree
Showing 9 changed files with 744 additions and 72 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -2,3 +2,6 @@ a.out
maketab
proctab.c
*.o
ytab*
testdir/foo*
testdir/temp*
9 changes: 8 additions & 1 deletion awk.h
Expand Up @@ -236,12 +236,19 @@ typedef struct rrow {
int i;
Node *np;
uschar *up;
int *rp; /* rune representation of char class */
} lval; /* because Al stores a pointer in it! */
int *lfollow;
} rrow;

typedef struct gtt { /* gototab entry */
unsigned int ch;
unsigned int state;
} gtt;

typedef struct fa {
unsigned int **gototab;
gtt **gototab;
int gototab_len;
uschar *out;
uschar *restr;
int **posns;
Expand Down

0 comments on commit d322b2b

Please sign in to comment.