It does not crash in the current beta, it gives an error which is the correct behavior since it is not valid code. I suggest you learn *this* language and don't try to apply conventions from other languages to ours because chances are you just make yourself look foolish.
While on the subject of looking foolish, please learn how to report bugs. You set several fields that are not your place to set. You both attached code and included code inline (without proper tags to mark it as code). And finally the code itself is stupid. You can demonstrate the problem with a single line yet you posted a full script with #include dependencies we can't meet due to missing files.
Anyway, since this doesn't crash in the beta I'm closing it as won't fix.