diff options
Diffstat (limited to 'tools/mhmake/src/bisondata')
-rw-r--r-- | tools/mhmake/src/bisondata/lalr1.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/mhmake/src/bisondata/lalr1.cc b/tools/mhmake/src/bisondata/lalr1.cc index 25dd01938..fdc033a1d 100644 --- a/tools/mhmake/src/bisondata/lalr1.cc +++ b/tools/mhmake/src/bisondata/lalr1.cc @@ -153,6 +153,11 @@ b4_user_stype void set_debug_level (debug_level_type l);
#endif
+ position *GetCurPos(void)
+ {
+ return &yylocation_stack_[1].begin;
+ }
+
private:
/// Report a syntax error.
/// \param loc where the syntax error is found.
|