*** empty log message ***

This commit is contained in:
2005-08-11 11:18:30 +00:00
parent c7697a6512
commit 1a229b9d41
2 changed files with 18 additions and 24 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: parser.c,v 1.65 2005-07-19 12:08:04 bacon Exp $
* $Id: parser.c,v 1.66 2005-08-11 11:18:30 bacon Exp $
*/
#include <xp/stx/parser.h>
@ -984,6 +984,20 @@ static int __parse_primary_ident (xp_stx_parser_t* parser, const xp_char_t* iden
xp_word_t i;
xp_stx_t* stx = parser->stx;
/*
if (xp_strcmp(token->name.buffer, XP_TEXT("self")) == 0) {
EMIT_PUSH_LITERAL (parser, i);
}
else if (xp_strcmp(token->name.buffer, XP_TEXT("super")) == 0) {
}
else if (xp_strcmp(token->name.buffer, XP_TEXT("nil")) == 0) {
}
else if (xp_strcmp(token->name.buffer, XP_TEXT("true")) == 0) {
}
else if (xp_strcmp(token->name.buffer, XP_TEXT("false")) == 0) {
}
*/
/* Refer to __parse_assignment for identifier lookup */
for (i = 0; i < parser->temporary_count; i++) {