diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-06-23 15:04:04 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-06-23 15:04:04 -0300 |
commit | 097bebd29949edf6ed7bd55d8fb21c477ac85236 (patch) | |
tree | 6166b0b8e3bc9c1f18cf77f983c8bfbff98481ee | |
parent | 664da61c079f762d835ea6f875cdf3da96982bab (diff) | |
download | lpeg-097bebd29949edf6ed7bd55d8fb21c477ac85236.tar.gz lpeg-097bebd29949edf6ed7bd55d8fb21c477ac85236.tar.bz2 lpeg-097bebd29949edf6ed7bd55d8fb21c477ac85236.zip |
Added a README file
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | makefile | 8 | ||||
-rwxr-xr-x | pack | 3 |
3 files changed, 11 insertions, 4 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..8c3fc86 --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,4 @@ | |||
1 | # LPeg | ||
2 | |||
3 | For more information, | ||
4 | see [Lpeg](http://www.inf.puc-rio.br/~roberto/lpeg/). | ||
@@ -1,9 +1,8 @@ | |||
1 | LIBNAME = lpeg | 1 | LIBNAME = lpeg |
2 | LUADIR = ./lua/ | 2 | LUADIR = ./lua/ |
3 | 3 | ||
4 | # COPT = -O2 -DNDEBUG | 4 | COPT = -O2 -DNDEBUG |
5 | # COPT = -g | 5 | # COPT = -O0 -DLPEG_DEBUG -g |
6 | COPT = -O0 -DLPEG_DEBUG -g | ||
7 | 6 | ||
8 | CWARNS = -Wall -Wextra -pedantic \ | 7 | CWARNS = -Wall -Wextra -pedantic \ |
9 | -Waggregate-return \ | 8 | -Waggregate-return \ |
@@ -12,14 +11,17 @@ CWARNS = -Wall -Wextra -pedantic \ | |||
12 | -Wdisabled-optimization \ | 11 | -Wdisabled-optimization \ |
13 | -Wpointer-arith \ | 12 | -Wpointer-arith \ |
14 | -Wshadow \ | 13 | -Wshadow \ |
14 | -Wredundant-decls \ | ||
15 | -Wsign-compare \ | 15 | -Wsign-compare \ |
16 | -Wundef \ | 16 | -Wundef \ |
17 | -Wwrite-strings \ | 17 | -Wwrite-strings \ |
18 | -Wbad-function-cast \ | 18 | -Wbad-function-cast \ |
19 | -Wdeclaration-after-statement \ | 19 | -Wdeclaration-after-statement \ |
20 | -Wmissing-prototypes \ | 20 | -Wmissing-prototypes \ |
21 | -Wmissing-declarations \ | ||
21 | -Wnested-externs \ | 22 | -Wnested-externs \ |
22 | -Wstrict-prototypes \ | 23 | -Wstrict-prototypes \ |
24 | -Wc++-compat \ | ||
23 | # -Wunreachable-code \ | 25 | # -Wunreachable-code \ |
24 | 26 | ||
25 | 27 | ||
@@ -1,5 +1,6 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | FILES="makefile HISTORY test.lua re.lua lpeg.html re.html lpeg-128.gif \ | 2 | FILES="makefile HISTORY README.md test.lua re.lua \ |
3 | lpeg.html re.html lpeg-128.gif \ | ||
3 | lptypes.h lpcap.h lpcap.c lpcode.h lpcode.c lpprint.h lpprint.c \ | 4 | lptypes.h lpcap.h lpcap.c lpcode.h lpcode.c lpprint.h lpprint.c \ |
4 | lptree.h lptree.c lpvm.h lpvm.c" | 5 | lptree.h lptree.c lpvm.h lpvm.c" |
5 | NAME=lpeg-$1 | 6 | NAME=lpeg-$1 |