[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Make yyparser::error public.
From: |
Akim Demaille |
Subject: |
[PATCH] Make yyparser::error public. |
Date: |
Thu, 19 Feb 2009 21:19:48 -0000 |
* data/lalr1.cc: here.
There is no good reason to keep it private (and it is convenient
to use it from the scanner for instance). It is already public in
glr.cc.
---
ChangeLog | 8 ++++++++
data/lalr1.cc | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9abe7d4..089f9d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2009-02-19 Akim Demaille <address@hidden>
+ Make yyparser::error public.
+ * data/lalr1.cc: here.
+ There is no good reason to keep it private (and it is convenient
+ to use it from the scanner for instance). It is already public in
+ glr.cc.
+
+2009-02-19 Akim Demaille <address@hidden>
+
Comment changes.
* data/glr.cc: here.
diff --git a/data/lalr1.cc b/data/lalr1.cc
index 86e6fd0..40405ea 100644
--- a/data/lalr1.cc
+++ b/data/lalr1.cc
@@ -439,12 +439,12 @@ m4_ifdef([b4_stype],
void set_debug_level (debug_level_type l);
#endif
- private:
/// Report a syntax error.]b4_locations_if([
/// \param loc where the syntax error is found.])[
/// \param msg a description of the syntax error.
virtual void error (]b4_locations_if([const location_type& loc, ])[const
std::string& msg);
+ private:
/// Generate an error message.
/// \param state the state where the error occurred.
/// \param tok the lookahead token.
--
1.6.2.rc0.35.g1b53
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Make yyparser::error public.,
Akim Demaille <=