MISRA Discussion Forums

Full Version: Rule 2-5-1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I feel, the sentence "The use of digraphs may not meet developer expectations." is not clear.
The usage of digraphs are only system constraints.
Digraph are just an alternative method for a systems that can not input '{','}','[',']'.
Therefore, there is no point in leaving a digraph in the final source file.
Even if anyone use a system that requires digraphs, it is better to replace in the final source file from digraph(alternative token) to primary token.
We take your point that if you are developing with diagraphs, you probably know what to expect. It may be more accurate to say '… may not meet maintainers' expectations'.

We will review for the next release