2
* Copyright 2004 Apache Software Foundation
4
* Licensed under the Apache License, Version 2.0 (the "License"); you
5
* may not use this file except in compliance with the License. You
6
* may obtain a copy of the License at
8
* http://www.apache.org/licenses/LICENSE-2.0
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
* implied. See the License for the specific language governing
14
* permissions and limitations under the License.
15
* $Id: psp_parser.h,v 1.7 2004/02/16 19:47:28 grisha Exp $
19
#ifndef __PSP_PARSER_H
20
#define __PSP_PARSER_H
22
#include "psp_string.h"
25
#define STATIC_STR(s) s, sizeof(s)-1
27
#define PSP_PG(v) (((psp_parser_t*)yyget_extra(yyscanner))->v)
30
/* PyObject *files; XXX removed until cache is fixed */
31
psp_string whitespace;
34
unsigned is_psp_echo : 1;
35
unsigned after_colon : 1;
36
unsigned seen_newline : 1;
39
#endif /* __PSP_PARSER_H */