pike.git / src / cpp.cmod

version» Context lines:

pike.git/src/cpp.cmod:1399:    case '/':    if (INDEX_PCHARP(data,pos) == '*') {    pos=find_end_of_comment(this,data,len,pos,0);    } else if (INDEX_PCHARP(data,pos) == '/') {    pos=find_end_of_line(this,data,len,pos,0);    }    }    }   }    - static inline int wide_isidchar( int c ) { -  return WIDE_ISIDCHAR(c); - } -  +    static struct pike_string *gobble_identifier (struct cpp *this, const PCHARP data, ptrdiff_t *pos)   {    ptrdiff_t p = *pos;    struct string_builder sb;    p_wchar2 tmp;    if( !wide_isidchar( tmp = INDEX_PCHARP(data,*pos)) && tmp != '\\' )    return NULL;       init_string_builder (&sb, 0); /* in fact, 0 is more likely than data.shift */   
pike.git/src/cpp.cmod:1915:    } else {    /* String didn't contain 0xfeff */    free_string_builder(&buf);    }    }    return(data);   }      #define PUSH_STRING0(X,Y,Z) add_quoted_string( X,Y,0,Z)   #define PUSH_STRING_SHIFT(X,Y,Z,A) add_quoted_string(X,Y,Z,A) - #define WC_ISIDCHAR wide_isidchar +    /*    * Generic macros    */      #define CHECK_WORD(X,LEN) (begins_with(X,ADD_PCHARP(data,pos),(LEN),len-pos,1))   #define GOBBLE_WORD(X) (CHECK_WORD(X,NELEM(X)) ? (pos+=NELEM(X)),1 : 0)   #define FIND_END_OF_STRING(FLAGS) (pos=find_end_quote(this,data,len,pos,'\"',FLAGS))   #define FIND_END_OF_CHAR() (pos=find_end_quote(this,data,len,pos,'\'',CPP_END_AT_NEWLINE))   #define FIND_EOL_PRETEND() (pos=find_end_of_line(this,data,len,pos,0))   #define FIND_EOL() (pos=find_end_of_line(this,data,len,pos,1))