[svn:parrot] r47243 - in branches/gsoc_nfg: include/parrot src/ops
darbelo at svn.parrot.org
darbelo at svn.parrot.org
Tue Jun 1 00:35:57 UTC 2010
Author: darbelo
Date: Tue Jun 1 00:35:57 2010
New Revision: 47243
URL: https://trac.parrot.org/parrot/changeset/47243
Log:
Let stringinfo know about STRING's new 'extra' pointer.
Modified:
branches/gsoc_nfg/include/parrot/string.h
branches/gsoc_nfg/src/ops/string.ops
Modified: branches/gsoc_nfg/include/parrot/string.h
==============================================================================
--- branches/gsoc_nfg/include/parrot/string.h Mon May 31 23:42:12 2010 (r47242)
+++ branches/gsoc_nfg/include/parrot/string.h Tue Jun 1 00:35:57 2010 (r47243)
@@ -51,6 +51,7 @@
#define STRINGINFO_FLAGS 4
#define STRINGINFO_BUFUSED 5
#define STRINGINFO_STRLEN 6
+#define STRINGINFO_EXTRA 7
/* &end_gen */
Modified: branches/gsoc_nfg/src/ops/string.ops
==============================================================================
--- branches/gsoc_nfg/src/ops/string.ops Mon May 31 23:42:12 2010 (r47242)
+++ branches/gsoc_nfg/src/ops/string.ops Tue Jun 1 00:35:57 2010 (r47243)
@@ -379,6 +379,9 @@
case STRINGINFO_STRLEN:
$1 = $2->strlen;
break;
+ case STRINGINFO_EXTRA:
+ $1 = $2->extra;
+ break;
default:
{
opcode_t *handler = Parrot_ex_throw_from_op_args(interp, NULL,
More information about the parrot-commits
mailing list