summaryrefslogtreecommitdiff
path: root/doc/specs/parse_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'doc/specs/parse_y.y')
-rw-r--r--doc/specs/parse_y.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/specs/parse_y.y b/doc/specs/parse_y.y
index 9ea51654..87fc54ea 100644
--- a/doc/specs/parse_y.y
+++ b/doc/specs/parse_y.y
@@ -229,7 +229,7 @@ void set_label(const char *label, const char *target)
{
if (target == NULL) {
yyerror("no hanging value for label");
- target = "<??>";
+ target = "<??" ">"; /* avoid trigraph warning */
}
label_root = set_key(label_root, label, target);
}
@@ -242,7 +242,7 @@ char *new_counter(const char *key)
if (key[i++] != '#') {
yyerror("bad index");
- return strdup("<???>");
+ return strdup("<???" ">"); /* avoid trigraph warning */
}
while (key[i] == '$') {