[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CVS update: subversion/subversion/libsvn_fs structure

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2001-02-28 21:24:33 CET

jimb@tigris.org writes:
> Log:
> Tweak Karl's tweak of the syntax of the "mutable" flag.

Oh -- am I misunderstanding the BNF syntax? I had thought that true
emptiness preceding a bar was the way to express actual absence, as
opposed to "", which would mean an atom representing the empty string.
It's the difference between these two:

   ("mutable")
   ("mutable" "")

where the former is a valid flag, and the latter is... well, at least
highly unlikely. :-) (See the code in nodes-table.c:is_valid_flag().)

It would have to precede the bar, so it's clear it's not a typo, of
course. I deduced that syntax from this entry a bit later in
`structure':

          list.body.opt ::= | list.body ;

?,
-K
   
> Revision Changes Path
> 1.35 +1 -1 subversion/subversion/libsvn_fs/structure
>
> Index: structure
> ===================================================================
> RCS file: /cvs/subversion/subversion/libsvn_fs/structure,v
> retrieving revision 1.34
> retrieving revision 1.35
> diff -u -r1.34 -r1.35
> --- structure 2001/02/28 00:52:17 1.34
> +++ structure 2001/02/28 22:07:10 1.35
> @@ -634,7 +634,7 @@
> HEADER ::= (KIND PROPLIST FLAG ...) ;
> KIND ::= "file" | "dir" | "copy" ;
> FLAG ::= ("mutable" PARENT-ID) ;
> - PARENT-ID ::= | node.revision-id ;
> + PARENT-ID ::= "" | node.revision-id ;
> SOURCE-REVISION ::= number ;
>
>
>
>
>
Received on Sat Oct 21 14:36:23 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.