diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-19 17:54:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-19 17:54:23 +0200 |
commit | 53d846e0c6ce605c3bce5c902829e0c0ce70e444 (patch) | |
tree | 766930494cec032fc4d131aa10eea8fac15a938d /odb/semantics/enum.cxx | |
parent | 2811680d652989ab2e2f9e12efd6f6de6169fa18 (diff) |
Store enumerator values in semantics graph
Diffstat (limited to 'odb/semantics/enum.cxx')
-rw-r--r-- | odb/semantics/enum.cxx | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/odb/semantics/enum.cxx b/odb/semantics/enum.cxx index f324716..56be2fc 100644 --- a/odb/semantics/enum.cxx +++ b/odb/semantics/enum.cxx @@ -14,14 +14,22 @@ namespace semantics } enumerator:: - enumerator (path const& file, size_t line, size_t column, tree tn) - : node (file, line, column, tn) + enumerator (path const& file, + size_t line, + size_t column, + tree tn, + unsigned long long value) + : node (file, line, column, tn), value_ (value) { } enum_:: - enum_ (path const& file, size_t line, size_t column, tree tn) - : node (file, line, column, tn) + enum_ (path const& file, + size_t line, + size_t column, + tree tn, + bool unsigned_) + : node (file, line, column, tn), unsigned__ (unsigned_) { } |