Subject: Re: Pathnames with trailing /
To: Olaf Seibert <rhialto@polderland.nl>
From: Kamal R Prasad <kamalrpr@in.ibm.com>
List: tech-kern
Date: 09/12/2003 15:31:37
IMHO, the OP was with reference to multiple '/' in a pathname and the '/' 
would occur within a string ie identified as"<pathname>". anything that 
appears within the 2 "" can be parsed seperately as opposed to a generic 
';' which can create more problems,.

regards
-kamal






On Fri 12 Sep 2003 at 03:15:54 +0200, Ian Piumarta wrote:
> Better example: programming languages.  In C you can write
> 
>   exit(0);;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> 
> which is still one statement.

errr... no. These are a bunch of empty expression statements, according
to my recollection and the following YACC grammar that I found (my K&R
is at home):

statement:
                   labeled_statement 
                 | compound_statement 
                 | expression_statement 
                 | selection_statement 
                 | iteration_statement 
                 | jump_statement 
                 ;

expression_statement:
                   expression_opt ';' 
                 ;

> Cheers,
> Ian
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@       -- "What good is a Ring of 
Power
\X/ polderland.nl            -- if you're unable...to Speak." - Agent 
Elrond