fix Issue 11818 - Ternary operator not allowed in a value parameter anymore
Merge pull request #3033 from 9rnsr/fix11818

[REG2.064] Issue 11818 - Ternary operator not allowed in a value parameter anymore
fix Issue 8648 - No error line number with incomplete template
Merge pull request #3035 from 9rnsr/fix8648

Issue 8648 - No error line number with incomplete template