From 84cec2f3b3e9602b60b1ff23942b1b4068b67347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Szeremeta?= Date: Mon, 29 Nov 2021 18:31:57 +0100 Subject: [PATCH] Add ability to use other than predefined primitive datatypes in schema --- other-notations/YARSpg.ebnf | 1 + yarspg/YARSpg.g4 | 1 + 2 files changed, 2 insertions(+) diff --git a/other-notations/YARSpg.ebnf b/other-notations/YARSpg.ebnf index 2b9c70c..460a0e1 100644 --- a/other-notations/YARSpg.ebnf +++ b/other-notations/YARSpg.ebnf @@ -126,6 +126,7 @@ primitive_value_schema | 'Date' | 'DateTime' | 'Time' + | ALNUMPLUS complex_value_schema ::= set_schema | list_schema diff --git a/yarspg/YARSpg.g4 b/yarspg/YARSpg.g4 index 982b877..7bf5e40 100644 --- a/yarspg/YARSpg.g4 +++ b/yarspg/YARSpg.g4 @@ -214,6 +214,7 @@ primitive_value_schema | 'Date' | 'DateTime' | 'Time' + | ALNUMPLUS ; complex_value_schema