Rule 2-5-1

Moderators: david ward, misra cpp

Post Reply
ogawa.kiyoshi
Posts: 15
Joined: Fri May 27, 2005 10:08 am
Company: NMIRI, Gifu-University, TOPPERS project
Location: Japan

Rule 2-5-1

Post by ogawa.kiyoshi » Sun Oct 01, 2017 2:31 am

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.
Dr. OGAWA Kioshi
@kaizen_nagoya

misra cpp
Posts: 150
Joined: Mon Jun 02, 2008 1:55 pm
Company: MISRA

Re: Rule 2-5-1

Post by misra cpp » Thu Oct 05, 2017 9:05 am

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
Posted by and on behalf of
the MISRA C++ Working Group

Post Reply

Return to “6.2 Lexical conventions (C++)”