Changeset 21220
- Timestamp:
- 07/04/08 16:03:29 (5 months ago)
- Files:
-
- 1 modified
-
misc/sm0p/sm0p.pm (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
misc/sm0p/sm0p.pm
r21217 r21220 16 16 <node_empty> { make $<node_empty> ~ '' } 17 17 || <node_result> { make $<node_result> ~ '' } 18 || <node_move_capturize> { make $<node_move_capturize> ~ '' } 18 19 || <node_capturized> { make $<node_capturized> ~ '' } 19 20 || <node_full> { make $<node_full> ~ '' } … … 39 40 } 40 41 42 43 token node_move_capturize { 44 <ws> SMOP__SLIME__CurrentFrame '.' move_capturize '(' 45 <ws> <capturize> <ws> ')' <ws> ';' <ws> 46 { make 'SMOP_DISPATCH(interpreter, SMOP__SLIME__Node, SMOP__ID__new, ' 47 ~ ' SMOP__NATIVE__capture_create(interpreter, SMOP__SLIME__Node, NULL, (SMOP__Object*[]){' 48 ~ ' SMOP__ID__responder, SMOP_REFERENCE(interpreter,(SMOP__Object*)SMOP_RI(SMOP__SLIME__CurrentFrame)), ' 49 ~ ' SMOP__ID__identifier, SMOP_REFERENCE(interpreter,SMOP__ID__move_capturize), ' 50 ~ ' SMOP__ID__capture, SMOP__NATIVE__capture_create(interpreter, SMOP__SLIME__CurrentFrame, ' 51 ~ ' (SMOP__Object*[]){' ~ $<capturize> ~ ',NULL}, NULL) , NULL }))' } 52 } 53 41 54 token node_capturized { 42 55 <ws> <responder> '.' <identifier> '(' … … 75 88 76 89 token positionals { 77 <identifier>90 [ <identifier> 78 91 [ 79 92 || <ws> \, <ws> <positionals> … … 82 95 { make 'SMOP_REFERENCE(interpreter,' ~ $<identifier> ~ '), NULL' } 83 96 ] 97 ]||[ <nativeint> 98 [ 99 || <ws> \, <ws> <positionals> 100 { make $<nativeint> ~ ', ' ~ $<positionals> } 101 || <ws> 102 { make $<nativeint> ~ ', NULL' } 103 ]] 84 104 } 85 105 … … 110 130 111 131 token identifier { 112 <capturize> { make $<capturize> ~ '' } 113 ||'$' <name> { make $<name> ~ '' } 132 '$' <name> { make $<name> ~ '' } 114 133 ||<idconst> { make $<idconst> ~ ''} 115 134 ||<name> { make $<name> ~ '' } 116 ||<nativeint> { make $<nativeint> ~ '' }117 135 } 118 136
