From 915bf45ee32826ed9eb612e4f82034a138dfeb41 Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 3 Jun 2019 08:06:15 +1000 Subject: [PATCH] Fix a typo in the property grammar that creates an ambiguous parse. Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/9065) --- crypto/property/properties.ebnf | 2 +- crypto/property/properties.xhtml | 40 ++++++++++++++++---------------- doc/man7/property.pod | 2 +- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/crypto/property/properties.ebnf b/crypto/property/properties.ebnf index 62e4f77cca..a55198bd75 100644 --- a/crypto/property/properties.ebnf +++ b/crypto/property/properties.ebnf @@ -3,7 +3,7 @@ Definition ::= PropertyName ( '=' Value )? ( ',' PropertyName ( '=' Value )? )* Query ::= PropertyQuery ( ',' PropertyQuery )* -PropertyQuery ::= '-'? PropertyName +PropertyQuery ::= '-' PropertyName | '?'? ( PropertyName (( '=' | '!=' ) Value)?) Value ::= NumberLiteral | StringLiteral diff --git a/crypto/property/properties.xhtml b/crypto/property/properties.xhtml index 0a613ef002..d3a6874896 100755 --- a/crypto/property/properties.xhtml +++ b/crypto/property/properties.xhtml @@ -302,7 +302,7 @@ , - no referencesPropertyQuery: + no referencesPropertyQuery: - - - - - - - PropertyName - - ? - - - PropertyName - - = - - - != - - - Value + + + - + + + PropertyName + + ? + + + PropertyName + + = + + + != + + + Value referenced by: diff --git a/doc/man7/property.pod b/doc/man7/property.pod index 1f8ee541b1..88f5400dbc 100644 --- a/doc/man7/property.pod +++ b/doc/man7/property.pod @@ -94,7 +94,7 @@ The lexical syntax in EBNF is given by: Definition ::= PropertyName ( '=' Value )? ( ',' PropertyName ( '=' Value )? )* Query ::= PropertyQuery ( ',' PropertyQuery )* - PropertyQuery ::= '-'? PropertyName + PropertyQuery ::= '-' PropertyName | '?'? ( PropertyName (( '=' | '!=' ) Value)?) Value ::= NumberLiteral | StringLiteral StringLiteral ::= QuotedString | UnquotedString -- 2.25.1