Parser problem - Else-If and a Function Declaration
Posted
by Amar Ravikumar
on Stack Overflow
See other posts from Stack Overflow
or by Amar Ravikumar
Published on 2010-05-25T12:48:18Z
Indexed on
2010/05/25
12:51 UTC
Read the original article
Hit count: 389
parsing
|programming-languages
A quick, fun question - What is the difference between a function declaration in C/C++ and an else-if statement block from a purely parsing standpoint?
void function_name(arguments) {
[statement-block]
}
else if(arguments) {
[statement-block]
}
Looking for the best solution! =)
© Stack Overflow or respective owner