X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fas3%2Ftokenizer.h;h=f58253df78754271c53bac242d5686a6017b9563;hb=bfebb5ef77b3b6919ec24c979b5aa7f71be7ec8b;hp=44ffd1790a4c7c92294579b7edce686028b2a343;hpb=b0444603a5793f31ec8cb35b1ea416e7f7f080ae;p=swftools.git diff --git a/lib/as3/tokenizer.h b/lib/as3/tokenizer.h index 44ffd17..f58253d 100644 --- a/lib/as3/tokenizer.h +++ b/lib/as3/tokenizer.h @@ -61,6 +61,10 @@ typedef struct _for_start { char*name; char each; } for_start_t; +typedef struct _regexp { + char*pattern; + char*options; +} regexp_t; extern char start_of_expression; @@ -68,8 +72,11 @@ typedef token_t*tokenptr_t; #include "parser.tab.h" -void syntaxerror(const char*format, ...); -void warning(const char*format, ...); +extern int as3_verbosity; +#define syntaxerror as3_error +void as3_error(const char*format, ...); +void as3_warning(const char*format, ...); +void as3_softwarning(const char*format, ...); #define T_EOF 0