Update project.cpp

Reverted previous changes, expressions in assignment statements didnt consider braces and checking for mismatch braces only applied to assignment statements.