summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
30bb2ed)
Small speedup (1%) on the list grammar. And makes yytranslate_ available
in non member functions.
* data/lalr1.cc (yytranslate_): Does not need to be a instance
function.
+2008-11-10 Akim Demaille <demaille@gostai.com>
+
+ Make parser::yytranslate static.
+ Small speedup (1%) on the list grammar. And makes yytranslate_ available
+ in non member functions.
+
+ * data/lalr1.cc (yytranslate_): Does not need to be a instance
+ function.
+
2008-11-10 Akim Demaille <demaille@gostai.com>
Avoid trailing spaces.
2008-11-10 Akim Demaille <demaille@gostai.com>
Avoid trailing spaces.
#endif
/// Convert a scanner token number \a t to a symbol number.
#endif
/// Convert a scanner token number \a t to a symbol number.
- token_number_type yytranslate_ (int t);
+ static inline token_number_type yytranslate_ (int t);
/// A complete symbol, with its type.
template <typename Exact>
/// A complete symbol, with its type.
template <typename Exact>