diff --git a/HISTORY b/HISTORY index 845a4ac..b44edfe 100644 --- a/HISTORY +++ b/HISTORY @@ -1,4 +1,12 @@ -HISTORY for LPegLabel 1.6.0-1 +HISTORY for LPegLabel 1.6.1-1 + +* Changes from version 1.6.0-1 to 1.6.1-1 + --------------------------------- + + fixing buffer overflow (thanks to edubart) + + fixing calcline returning the wrong column (thanks to Validark) + + fixing name clashing (thanks to edubart and E-Fir) + + fixing test related to the relabel parser + * Changes from version 1.5.0-1 to 1.6.0-1 --------------------------------- diff --git a/LICENSE b/LICENSE index db08683..3319725 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2019 Sérgio Medeiros +Copyright (c) 2014-2022 Sérgio Medeiros Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/lpltypes.h b/lpltypes.h index c5fbb1e..aae0c02 100644 --- a/lpltypes.h +++ b/lpltypes.h @@ -15,7 +15,7 @@ #include "lua.h" -#define VERSION "1.6.0" +#define VERSION "1.6.1" #define PATTERN_T "lpeglabel-pattern" diff --git a/rockspecs/lpeglabel-1.6.1-1.rockspec b/rockspecs/lpeglabel-1.6.1-1.rockspec new file mode 100644 index 0000000..8a7b1e7 --- /dev/null +++ b/rockspecs/lpeglabel-1.6.1-1.rockspec @@ -0,0 +1,33 @@ +package = "LPegLabel" +version = "1.6.1-1" +source = { + url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.1-1.tar.gz", + tag = "v1.6.1-1", + dir = "lpeglabel-1.6.1-1", +} +description = { + summary = "Parsing Expression Grammars For Lua with Labeled Failures", + detailed = [[ + LPegLabel is a conservative extension of the LPeg library that provides + an implementation of Parsing Expression Grammars (PEGs) with labeled failures. + By using labeled failures we can properly report syntactical errors. + We can also recover from such errors by describing a grammar rule with + the same name of a given label. + LPegLabel also reports the farthest failure position in case of an ordinary failure. + ]], + homepage = "https://github.com/sqmedeiros/lpeglabel/", + maintainer = "Sergio Medeiros ", + license = "MIT/X11" +} +dependencies = { + "lua >= 5.1", +} +build = { + type = "builtin", + modules = { + lpeglabel = { + "lplcap.c", "lplcode.c", "lplprint.c", "lpltree.c", "lplvm.c" + }, + relabel = "relabel.lua" + } +}