summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2012-05-21 11:40:42 +0200
committerAkim Demaille <akim@lrde.epita.fr>2012-05-21 16:07:34 +0200
commit03f1b545b94c6699ee637b517c4941afb76eb0d9 (patch)
treeb5feb0a5c57f829b2acd7cceb805b03c0626dc2f
parenta9b67b5b1e99b3ec3849c45fe42e5ecb382a314d (diff)
downloadbison-03f1b545b94c6699ee637b517c4941afb76eb0d9.tar.gz
lalr1.cc: improve Doxygen documentation.
* data/location.cc: Qualify file names with directory name.
-rw-r--r--data/lalr1.cc5
-rw-r--r--data/location.cc4
-rw-r--r--data/stack.hh5
3 files changed, 12 insertions, 2 deletions
diff --git a/data/lalr1.cc b/data/lalr1.cc
index c63e66de..0fe3aeed 100644
--- a/data/lalr1.cc
+++ b/data/lalr1.cc
@@ -39,6 +39,11 @@ b4_copyright([Skeleton interface for Bison LALR(1) parsers in C++],
[2002-2012])
dnl FIXME: This is wrong, we want computed header guards.
[
+/**
+ ** \file ]b4_spec_defines_file[
+ ** Define the ]b4_namespace_ref[::parser class.
+ */
+
/* C++ LALR(1) parser skeleton written by Akim Demaille. */
#ifndef PARSER_HEADER_H
diff --git a/data/location.cc b/data/location.cc
index cb0f1f91..0ee02c28 100644
--- a/data/location.cc
+++ b/data/location.cc
@@ -23,7 +23,7 @@ b4_copyright([Positions for Bison parsers in C++],
[2002-2007, 2009-2012])[
/**
- ** \file position.hh
+ ** \file ]b4_dir_prefix[position.hh
** Define the ]b4_namespace_ref[::position class.
*/
@@ -154,7 +154,7 @@ b4_copyright([Locations for Bison parsers in C++],
[2002-2007, 2009-2012])[
/**
- ** \file location.hh
+ ** \file ]b4_dir_prefix[location.hh
** Define the ]b4_namespace_ref[::location class.
*/
diff --git a/data/stack.hh b/data/stack.hh
index e785e808..52933774 100644
--- a/data/stack.hh
+++ b/data/stack.hh
@@ -25,6 +25,11 @@ m4_divert_push(0)dnl
b4_copyright([Stack handling for Bison parsers in C++],
[2002-2012])[
+/**
+ ** \file ]b4_dir_prefix[stack.hh
+ ** Define the ]b4_namespace_ref[::stack class.
+ */
+
#ifndef BISON_STACK_HH
# define BISON_STACK_HH