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! =)
Edit: Thanks for the insight guys. I was actually writing a regex to match all functions in a program and I started getting these else-if blocks with the results. That is when I realized the unique connection between the two. =)