From: Anon Ymous Date: Fri, 26 Jan 2007 21:43:27 +0000 (+0000) Subject: Add a comment about STRINGs that begin with a compare character in strtest. X-Git-Tag: FILE5_05~655 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65e5f84eef9651d830892d400fa5606ad8594b0f;p=file Add a comment about STRINGs that begin with a compare character in strtest. --- diff --git a/src/BNF b/src/BNF index ac78a19d..a946e61c 100644 --- a/src/BNF +++ b/src/BNF @@ -120,11 +120,14 @@ default = "default" ;; This is intended to be used with the ------------------------------------------------------------------------ test = numtest | strtest | truetest - ;; test to preform on read from file. + ;; Test to preform on read from file. -numtest = [ compare ] NUMBER ;; if compare is missing, "=" is assumed. +numtest = [ compare ] NUMBER ;; If compare is missing, "=" is assumed. -strtest = [ compare ] STRING ;; if compare is missing, "=" is assumed. +strtest = [ compare ] STRING ;; If compare is missing, "=" is assumed. + ;; Note: If the STRING begins with a + ;; character, the field cannot be + ;; omitted. compare = "=" | "!" | "<" | ">" | "&" | "^" @@ -133,7 +136,7 @@ truetest = "x" ;; This always returns true. ------------------------------------------------------------------------ message = [ nospflag ] ( STRING | FMT_STRING ) - ;; message to print if test result is true. + ;; Message to print if test result is true. nospflag = %x08 | "\\b" ;; Do not insert a space before the message. ;; By default, messages are separated by a " ".