From 15f402a52b71574667839c4582f2446aafcb2268 Mon Sep 17 00:00:00 2001 From: Brian Glusman Date: Mon, 4 Nov 2024 11:41:16 -0500 Subject: [PATCH] Attempted fix in Lexer --- mix.exs | 2 +- src/ayesql_lexer.xrl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mix.exs b/mix.exs index 1af465c..1c7ef26 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule AyeSQL.MixProject do use Mix.Project - @version "1.1.3" + @version "1.1.4" @name "AyeSQL" @description "Library for using raw SQL" @app :ayesql diff --git a/src/ayesql_lexer.xrl b/src/ayesql_lexer.xrl index c1eb795..1990419 100644 --- a/src/ayesql_lexer.xrl +++ b/src/ayesql_lexer.xrl @@ -9,8 +9,8 @@ NewLine = (\n|\r)+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Comments and special directives -FunName = {NewLine}*(\-\-)\sname\:\s[^\n\r]+ -FunDocs = {NewLine}*(\-\-)\sdocs\:\s[^\n\r]+ +FunName = {NewLine}*{WhiteSpace}*(\-\-)\sname\:\s[^\n\r]+ +FunDocs = {NewLine}*{WhiteSpace}*(\-\-)\sdocs\:\s[^\n\r]+ Comment = (\-\-)[^\n\r]+ Atom = [a-z_][0-9a-zA-Z_]*