Changeset 4739 in webkit for trunk/JavaScriptCore/pcre/pcre.h


Ignore:
Timestamp:
Jul 30, 2003, 4:54:41 PM (22 years ago)
Author:
darin
Message:

Reviewed by Dave.

  • fixed problem where some JavaScriptCore symbols had no namespace or prefix
  • kjs/grammar.y: Added a define for yylloc to make it use the kjs prefix. This is the same thing done for the rest of the symbols automatically by yacc, but for some reason it's not done for yyloc. Also make automatic() function static.
  • kjs/grammar.cpp: Regenerated.
  • kjs/lexer.cpp: Use kjsyylloc instead of yyloc.
  • pcre/pcre.h: Add defines to prepend kjs prefixes for all the PCRE functions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/pcre.h

    r2933 r4739  
    77#ifndef _PCRE_H
    88#define _PCRE_H
     9
     10#define pcre_compile kjs_pcre_compile
     11#define pcre_copy_substring kjs_pcre_copy_substring
     12#define pcre_exec kjs_pcre_exec
     13#define pcre_free kjs_pcre_free
     14#define pcre_free_substring kjs_pcre_free_substring
     15#define pcre_free_substring_list kjs_pcre_free_substring_list
     16#define pcre_fullinfo kjs_pcre_fullinfo
     17#define pcre_get_substring kjs_pcre_get_substring
     18#define pcre_get_substring_list kjs_pcre_get_substring_list
     19#define pcre_info kjs_pcre_info
     20#define pcre_maketables kjs_pcre_maketables
     21#define pcre_malloc kjs_pcre_malloc
     22#define pcre_study kjs_pcre_study
     23#define pcre_version kjs_pcre_version
    924
    1025#define PCRE_MAJOR 3
Note: See TracChangeset for help on using the changeset viewer.