aboutsummaryrefslogtreecommitdiff
path: root/gcc/m2
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2023-01-26 21:41:53 +0000
committerGaius Mulley <gaiusmod2@gmail.com>2023-01-26 21:41:53 +0000
commit67bcd1c5ed4d966a91b49b8a7da7c1ca3289c2ce (patch)
tree321d629d92afaed67c34992cbe03265793926925 /gcc/m2
parent95dca4e7482fcb3ef65df55144ca306e270a8a02 (diff)
downloadgcc-67bcd1c5ed4d966a91b49b8a7da7c1ca3289c2ce.zip
gcc-67bcd1c5ed4d966a91b49b8a7da7c1ca3289c2ce.tar.gz
gcc-67bcd1c5ed4d966a91b49b8a7da7c1ca3289c2ce.tar.bz2
Fix comment so that /* does not appear inside a comment.
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>
Diffstat (limited to 'gcc/m2')
-rw-r--r--gcc/m2/m2.flex4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/m2/m2.flex b/gcc/m2/m2.flex
index 7b8f4f1..2937290 100644
--- a/gcc/m2/m2.flex
+++ b/gcc/m2/m2.flex
@@ -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)