Do not allow whitespaces in property
This commit is contained in:
parent
5321555777
commit
8d3c23f26b
|
@ -1,11 +1,12 @@
|
|||
// A simplyfied parser for zeroc configuration.
|
||||
// This parser is stricter of the default one, for example spaces in properties
|
||||
// are not allowed.
|
||||
// See https://doc.zeroc.com/ice/latest/properties-and-configuration for
|
||||
// details.
|
||||
// details about zeroc configuration.
|
||||
|
||||
CHAR = { ASCII_ALPHANUMERIC | "." | "_" | WHITESPACE }
|
||||
CHAR = { ASCII_ALPHANUMERIC | "." | "_" }
|
||||
NO_NEWLINE = _{ !NEWLINE ~ ANY }
|
||||
WHITESPACE = _{ " " }
|
||||
|
||||
SEPARATOR = _{ "=" }
|
||||
|
||||
NAME = @{ CHAR+ }
|
||||
|
|
Loading…
Reference in New Issue