Skip to content

Commit

Permalink
possibly fix bug while persing identifiers for [!list]
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanrusev committed Apr 8, 2021
1 parent 32e04a9 commit 6a72545
Show file tree
Hide file tree
Showing 5 changed files with 1,095 additions and 305 deletions.
6 changes: 5 additions & 1 deletion RELEASENOTE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Version Notes (Current Version: v2.56.7)
Version Notes (Current Version: v2.56.8)
=======================================

v.2.56.8
-----------
1. Fix a bug where dot (`.`) wouldn't be considered as identifier in `[!list]` parsing

v.2.56.7
-----------
1. Fix parsing for [!list] - more attributes are parsed correctly without quotation
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,14 @@ static bool ContinueParsing(this Context? ctx, ref Context pos)
for (int i = ctx.Index; next?.Overflow == false; i++)
{
// identifier is anything starting with letter, then followed
// by digit, underscore (_) or dash(-)
// by digit, underscore (_) or dash(-) or dot (.)
// allow starting symbol to be digit, so that we can have numbers
if (char.IsLetterOrDigit(next.Value.Symbol) ||
(i > ctx.Index &&
(
(next.Value.Symbol == '_')
|| (next.Value.Symbol == '-')
|| (next.Value.Symbol == '.')
)
)
)
Expand Down

This file was deleted.

Loading

0 comments on commit 6a72545

Please sign in to comment.