[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] build: restore C90 compatibility
From: |
Akim Demaille |
Subject: |
[PATCH] build: restore C90 compatibility |
Date: |
Tue, 5 Feb 2013 14:52:47 +0100 |
* src/parse-gram.y, src/parse-gram.c: Don't use // comments.
---
src/parse-gram.c | 2 +-
src/parse-gram.y | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/parse-gram.c b/src/parse-gram.c
index cc42b0d..8215a94 100644
--- a/src/parse-gram.c
+++ b/src/parse-gram.c
@@ -119,7 +119,7 @@ static void version_check (location const *loc, char const
*version);
static void gram_error (location const *, char const *);
-/// A string that describes a char (e.g., 'a' -> "'a'").
+/* A string that describes a char (e.g., 'a' -> "'a'"). */
static char const *char_name (char);
#line 126 "src/parse-gram.c" /* yacc.c:357 */
diff --git a/src/parse-gram.y b/src/parse-gram.y
index 2c84cb1..e889eb5 100644
--- a/src/parse-gram.y
+++ b/src/parse-gram.y
@@ -46,7 +46,7 @@ static void version_check (location const *loc, char const
*version);
static void gram_error (location const *, char const *);
-/// A string that describes a char (e.g., 'a' -> "'a'").
+/* A string that describes a char (e.g., 'a' -> "'a'"). */
static char const *char_name (char);
%}
--
1.8.1.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] build: restore C90 compatibility,
Akim Demaille <=