Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add hll and map directives to NQPLexInfo and NQPLexPad PMCs. Now seem…
…s things get serialized as wanted.
  • Loading branch information
jnthn committed Mar 6, 2011
1 parent 67337e1 commit 4f4fa4f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/pmc/nqplexinfo.pmc
Expand Up @@ -4,7 +4,13 @@
* that get set into each created lexpad by default. It will also
* enable indexed lookups and, some day, may also allow for native
* values to be stored too. */
pmclass NQPLexInfo provides hash auto_attrs dynpmc group nqp {
pmclass NQPLexInfo
provides hash
auto_attrs
dynpmc group nqp
hll nqp
maps LexInfo
{
/* Hash mapping a name to the register that always holds its
* value. */
ATTR PMC *name_to_register_map;
Expand Down
8 changes: 7 additions & 1 deletion src/pmc/nqplexpad.pmc
@@ -1,6 +1,12 @@
#include "pmc_nqplexinfo.h"

pmclass NQPLexPad provides hash no_ro auto_attrs dynpmc group nqp {
pmclass NQPLexPad
provides hash
auto_attrs
dynpmc group nqp
hll nqp
maps LexPad
{
ATTR PMC *lexinfo;
ATTR PMC *ctx;

Expand Down

0 comments on commit 4f4fa4f

Please sign in to comment.