Re: About parsing the following if else condition
- From: Spiros Bousbouras <spibou@xxxxxxxxx>
- Date: Wed, 03 Oct 2007 17:20:37 -0000
On Oct 3, 6:09 pm, "parag_p...@xxxxxxxxxxx" <parag_p...@xxxxxxxxxxx>
wrote:
Run the code through indent
What is the meaning of that ?
indent is a common Unix application which does automatic
indentation of a C programme. I would imagine it also
exists for other platforms.
@Mark
Your second answer was my original intent. Thanks for that. It is
pretty much same for all compilers . Is it?
It would have been nice if you had actually quoted this
"second answer". I assume you mean the following piece of
code by Mark Bluemel:
if ((type == vhpiCompInstStmtK) || (type == vhpiRootInstK))
{
if (reason) {
*reason = "Object is a scope";
}
} else {
if (reason) {
*reason = "object is not writable";
}
}
And yes it is the same for every compiler which conforms
to the C standard.
.
- References:
- About parsing the following if else condition
- From: parag_paul@xxxxxxxxxxx
- Re: About parsing the following if else condition
- From: keith
- Re: About parsing the following if else condition
- From: parag_paul@xxxxxxxxxxx
- About parsing the following if else condition
- Prev by Date: Re: About parsing the following if else condition
- Next by Date: Re: malloc under linux
- Previous by thread: Re: About parsing the following if else condition
- Next by thread: Re: About parsing the following if else condition
- Index(es):
Relevant Pages
|
Loading