aboutsummaryrefslogtreecommitdiff
path: root/config.ebnf
diff options
context:
space:
mode:
author2026-02-23 23:14:13 +0300
committer2026-02-23 23:14:47 +0300
commit8568d1f69970f0a886f7ec8db62d571543aeb6b9 (patch)
tree936d162018cc181d39f0062a9339ea1fb735baac /config.ebnf
parentRefactoring (diff)
downloadconf-0.0.5.tar.gz
conf-0.0.5.tar.bz2
conf-0.0.5.tar.xz
conf-0.0.5.zip
'-' sign in words acceptedv0.0.5
Diffstat (limited to '')
-rw-r--r--config.ebnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.ebnf b/config.ebnf
index 51c1db7..ffb588a 100644
--- a/config.ebnf
+++ b/config.ebnf
@@ -20,7 +20,7 @@ String = str .
# Primitives
word = (alpha | spec) {alpha | number | spec} .
alpha = `[a-zA-Z]` .
-spec = `\$|_` .
+spec = `\$|_|-` .
number = `-?[0-9]+(\.[0-9]+)?` .
boolean = `true|false` .
str = `"[^"]*"` | `'[^']*'` | '`' { `[^\x60]` } '`' .