]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Fix parsing of lua comments with empty lines
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 16 Sep 2016 17:45:43 +0000 (18:45 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 16 Sep 2016 17:45:43 +0000 (18:45 +0100)
doc/doxydown/doxydown.pl
src/lua/lua_util.c

index 744e5511a1bfeb32ea0996662bc9591e7484cba9..530d95df98926195fee114b8b31342b38d8ccf25 100755 (executable)
@@ -16,7 +16,7 @@ my %languages = (
     c => {
         start  => qr/^\s*\/\*\*\*(?:\s*|(\s+\S.+\s*))$/,
         end    => qr/^\s*\*+\/\s*$/,
-        filter => qr/^(?:\s*\*+\s?)?(\s*[^*].+)\s*$/,
+        filter => qr/^(?:\s*\*+\s*)?(\s*\S.+)\s*$/,
     },
     lua => {
         start  => qr/^\s*\--\[\[\[\s*$/,
index a26982b6205061eabbe69c47489d8eb26af05ee9..81038ffdd17a3a1f2db26228529d60fa39d69081 100644 (file)
@@ -341,6 +341,7 @@ LUA_FUNCTION_DEF (util, random_hex);
  * serialized in binary form) according to the format string `fmt`
  * A format string is a sequence of conversion options. The conversion
  * options are as follows:
+ *
  *    * <: sets little endian
  *    * >: sets big endian
  *    * =: sets native endian