Share
Explore BrainMass

illegal start of expression errors

Does anyone have any ideas what normally causes "illegal start of expression" errors? Is there something the compiler is looking for in general? I am trying to debug a program and I keep getting this error. This error is before one of my public void statements. I was just wondering if anyone has any helpful tips in what to look for in the code.

Solution Preview

I have seen Illegal start of expression occur in many places. It's something like a Syntax Error in scripting languages. For example, Illegal start ...

Solution Summary

This job encompasses illegal start of expression errors.

$2.19