From: Pauli Date: Sun, 2 Jun 2019 22:06:15 +0000 (+1000) Subject: Fix a typo in the property grammar that creates an ambiguous parse. X-Git-Tag: openssl-3.0.0-alpha1~2007 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=915bf45ee32826ed9eb612e4f82034a138dfeb41;p=oweals%2Fopenssl.git 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) --- 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