diff options
Diffstat (limited to 'test/ext1.lm')
-rw-r--r-- | test/ext1.lm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ext1.lm b/test/ext1.lm index 3d2c40c8..5a645ef4 100644 --- a/test/ext1.lm +++ b/test/ext1.lm @@ -9,7 +9,7 @@ print "[alphcount( " hello friend " )] #include <stdio.h> #include <string.h> -Str *c_alphcount( Program *prg, Tree **sp, Str *a1 ) +str_t *c_alphcount( program_t *prg, tree_t **sp, str_t *a1 ) { int p, count = 0; for ( p = 0; p < a1->value->length; p++ ) { @@ -21,11 +21,11 @@ Str *c_alphcount( Program *prg, Tree **sp, Str *a1 ) char strc[64]; sprintf( strc, "%d", count ); - Head *h = stringAllocFull( prg, strc, strlen( strc ) ); - Tree *s = constructString( prg, h ); + head_t *h = stringAllocFull( prg, strc, strlen( strc ) ); + tree_t *s = constructString( prg, h ); treeUpref( s ); treeDownref( prg, sp, a1 ); - return (Str*)s; + return (str_t*)s; } ##### EXP ##### 11 |