bugfix: fixed issue with ternary operators not working.

Ternary operators are now implemented as conditional move instructions
instead of full fledged if-statements.
syntax-check: fixed warnings from `make syntax-check'