Update git submodules
[LibreOffice.git] / hwpfilter / source / grammar.h
blobe18a8445590c002485731ee1107849ad0d7cd31f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 typedef union {
21 const char *dval;
22 const char *str;
23 Node *ptr;
24 } YYSTYPE;
26 enum Grammar
28 ACCENT = 257,
29 SMALL_GREEK = 258,
30 CAPITAL_GREEK = 259,
31 BINARY_OPERATOR = 260,
32 RELATION_OPERATOR = 261,
33 ARROW = 262,
34 GENERAL_IDEN = 263,
35 GENERAL_OPER = 264,
36 BIG_SYMBOL = 265,
37 FUNCTION = 266,
38 ROOT = 267,
39 FRACTION = 268,
40 SUBSUP = 269,
41 EQOVER = 270,
42 DELIMETER = 271,
43 LARGE_DELIM = 272,
44 DECORATION = 273,
45 SPACE_SYMBOL = 274,
46 CHARACTER = 275,
47 STRING = 276,
48 OPERATOR = 277,
49 EQBEGIN = 278,
50 EQEND = 279,
51 EQLEFT = 280,
52 EQRIGHT = 281,
53 NEWLINE = 282,
54 LEFT_DELIM = 283,
55 RIGHT_DELIM = 284,
56 DIGIT = 285,
59 extern YYSTYPE yylval;
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */