aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-06-23 15:04:04 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-06-23 15:04:04 -0300
commit097bebd29949edf6ed7bd55d8fb21c477ac85236 (patch)
tree6166b0b8e3bc9c1f18cf77f983c8bfbff98481ee
parent664da61c079f762d835ea6f875cdf3da96982bab (diff)
downloadlpeg-097bebd29949edf6ed7bd55d8fb21c477ac85236.tar.gz
lpeg-097bebd29949edf6ed7bd55d8fb21c477ac85236.tar.bz2
lpeg-097bebd29949edf6ed7bd55d8fb21c477ac85236.zip
Added a README file
-rw-r--r--README.md4
-rw-r--r--makefile8
-rwxr-xr-xpack3
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
3For more information,
4see [Lpeg](http://www.inf.puc-rio.br/~roberto/lpeg/).
diff --git a/makefile b/makefile
index 2aff497..41a2928 100644
--- a/makefile
+++ b/makefile
@@ -1,9 +1,8 @@
1LIBNAME = lpeg 1LIBNAME = lpeg
2LUADIR = ./lua/ 2LUADIR = ./lua/
3 3
4# COPT = -O2 -DNDEBUG 4COPT = -O2 -DNDEBUG
5# COPT = -g 5# COPT = -O0 -DLPEG_DEBUG -g
6COPT = -O0 -DLPEG_DEBUG -g
7 6
8CWARNS = -Wall -Wextra -pedantic \ 7CWARNS = -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
diff --git a/pack b/pack
index 4ebc4a6..ee38bc3 100755
--- a/pack
+++ b/pack
@@ -1,5 +1,6 @@
1#!/bin/bash 1#!/bin/bash
2FILES="makefile HISTORY test.lua re.lua lpeg.html re.html lpeg-128.gif \ 2FILES="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"
5NAME=lpeg-$1 6NAME=lpeg-$1