summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/c11.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/c11.l b/bin/c11.l
index 88e4d08b..aeffe254 100644
--- a/bin/c11.l
+++ b/bin/c11.l
@@ -79,7 +79,7 @@ register|restrict|return|static|struct|switch|typedef|union|volatile|while |
 {ident} { return Ident; }
 
 "//"([^\n]|"\\\n")* |
-"/*"([^*]|"*"[^/])*"*"+"/" {
+"/*"([^*]|"*"+[^*/])*"*"+"/" {
 	return Comment;
 }