Fix comment so that /* does not appear inside a comment.
authorGaius Mulley <gaiusmod2@gmail.com>
Thu, 26 Jan 2023 21:41:53 +0000 (21:41 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Thu, 26 Jan 2023 21:41:53 +0000 (21:41 +0000)
The block comment in m2.flex associated with splitSlashStar
contains /* which causes a warning.  This patch obfuscates
the comment /* symbols.

* m2.flex (splitSlashStar): Fix comment so that /* does not
appear inside the comment.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/m2.flex

index 7b8f4f1..2937290 100644 (file)
@@ -542,8 +542,8 @@ static void assert_location (location_t location ATTRIBUTE_UNUSED)
 /*
  *  splitSlashStar - called if we are not tokenizing source code after it
  *                   has been preprocessed by cpp.  It is only called
- *                   if the current token was /* and therefore it will
- *                   be split into two m2 tokens:  / and *.
+ *                   if the current token was a / immediately followed by * and
+ *                   therefore it will be split into two m2 tokens:  / and *.
  */
 
 static void splitSlashStar (void)