Skip to content

Commit

Permalink
Merge pull request #262 from draios/allow-dots-in-paths
Browse files Browse the repository at this point in the history
Allow dots in paths.
  • Loading branch information
mstemm committed Aug 4, 2017
2 parents 5c1aa8d + de520a6 commit 9d6fe87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/engine/lua/parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ local G = {
Identifier = V"idStart" * V"idRest"^0;
Macro = V"idStart" * V"idRest"^0 * -P".";
Int = digit^1;
PathString = (alnum + S'-_/*?')^1;
PathString = (alnum + S'.-_/*?')^1;
Index = V"Int" + V"PathString";
FieldName = V"Identifier" * (P"." + V"Identifier")^1 * (P"[" * V"Index" * P"]")^-1;
Name = C(V"Identifier") * -V"idRest";
Expand Down

0 comments on commit 9d6fe87

Please sign in to comment.