itextomml 1.5.8 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/itex2MML.h +3 -3
- data/ext/y.tab.c +1283 -1276
- data/ext/y.tab.h +6 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: add3965127a551a420cba76b8f78a96e347e6baee4f66ba0d4f1dc7743dcacba
|
4
|
+
data.tar.gz: dd8e3d85a41a83a093642cc673ea159e6185d77c3d9332e342ded55557a9b365
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c83be31c867ab3cc6357ac64c1ace106adb4cb4634d2e874f7b647b277786c8d0d06ac35a7ea4d864459785c6c36878f19203847bd56e11e6fefac600db5912
|
7
|
+
data.tar.gz: cfccba901d5d6cdb8797ce6a7d1300faf995a71be77fe3b8322bf33f3969e87aa78436e405988d453e64240130e892df9167a15a526233795ae508bb377a2d84
|
data/ext/itex2MML.h
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
/* itex2MML 1.
|
2
|
-
* itex2MML.h last modified
|
1
|
+
/* itex2MML 1.6.0
|
2
|
+
* itex2MML.h last modified 03/23/2019
|
3
3
|
*/
|
4
4
|
|
5
5
|
#ifndef ITEX2MML_H
|
6
6
|
#define ITEX2MML_H
|
7
7
|
|
8
|
-
#define ITEX2MML_VERSION "1.
|
8
|
+
#define ITEX2MML_VERSION "1.6.0"
|
9
9
|
|
10
10
|
#ifdef __cplusplus
|
11
11
|
extern "C" {
|
data/ext/y.tab.c
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
/* A Bison parser, made by GNU Bison 3.
|
1
|
+
/* A Bison parser, made by GNU Bison 3.3.1. */
|
2
2
|
|
3
3
|
/* Bison implementation for Yacc-like parsers in C
|
4
4
|
|
5
|
-
Copyright (C) 1984, 1989-1990, 2000-2015, 2018 Free Software Foundation,
|
5
|
+
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,
|
6
|
+
Inc.
|
6
7
|
|
7
8
|
This program is free software: you can redistribute it and/or modify
|
8
9
|
it under the terms of the GNU General Public License as published by
|
@@ -40,11 +41,14 @@
|
|
40
41
|
define necessary library symbols; they are noted "INFRINGES ON
|
41
42
|
USER NAME SPACE" below. */
|
42
43
|
|
44
|
+
/* Undocumented macros, especially those whose name start with YY_,
|
45
|
+
are private implementation details. Do not rely on them. */
|
46
|
+
|
43
47
|
/* Identify Bison output. */
|
44
48
|
#define YYBISON 1
|
45
49
|
|
46
50
|
/* Bison version. */
|
47
|
-
#define YYBISON_VERSION "3.
|
51
|
+
#define YYBISON_VERSION "3.3.1"
|
48
52
|
|
49
53
|
/* Skeleton name. */
|
50
54
|
#define YYSKELETON_NAME "yacc.c"
|
@@ -69,8 +73,8 @@
|
|
69
73
|
#define yylval itex2MML_yylval
|
70
74
|
#define yychar itex2MML_yychar
|
71
75
|
|
72
|
-
/*
|
73
|
-
#line 7 "itex2MML.y" /* yacc.c:
|
76
|
+
/* First part of user prologue. */
|
77
|
+
#line 7 "itex2MML.y" /* yacc.c:337 */
|
74
78
|
|
75
79
|
#include <stdio.h>
|
76
80
|
#include <string.h>
|
@@ -345,13 +349,16 @@
|
|
345
349
|
}
|
346
350
|
|
347
351
|
|
348
|
-
#line
|
349
|
-
|
352
|
+
#line 353 "y.tab.c" /* yacc.c:337 */
|
350
353
|
# ifndef YY_NULLPTR
|
351
|
-
# if defined __cplusplus
|
352
|
-
#
|
354
|
+
# if defined __cplusplus
|
355
|
+
# if 201103L <= __cplusplus
|
356
|
+
# define YY_NULLPTR nullptr
|
357
|
+
# else
|
358
|
+
# define YY_NULLPTR 0
|
359
|
+
# endif
|
353
360
|
# else
|
354
|
-
# define YY_NULLPTR 0
|
361
|
+
# define YY_NULLPTR ((void*)0)
|
355
362
|
# endif
|
356
363
|
# endif
|
357
364
|
|
@@ -742,9 +749,7 @@ int itex2MML_yyparse (char **ret_str);
|
|
742
749
|
|
743
750
|
#endif /* !YY_ITEX2MML_YY_Y_TAB_H_INCLUDED */
|
744
751
|
|
745
|
-
/* Copy the second part of user declarations. */
|
746
752
|
|
747
|
-
#line 748 "y.tab.c" /* yacc.c:358 */
|
748
753
|
|
749
754
|
#ifdef short
|
750
755
|
# undef short
|
@@ -765,13 +770,13 @@ typedef signed char yytype_int8;
|
|
765
770
|
#ifdef YYTYPE_UINT16
|
766
771
|
typedef YYTYPE_UINT16 yytype_uint16;
|
767
772
|
#else
|
768
|
-
typedef unsigned short
|
773
|
+
typedef unsigned short yytype_uint16;
|
769
774
|
#endif
|
770
775
|
|
771
776
|
#ifdef YYTYPE_INT16
|
772
777
|
typedef YYTYPE_INT16 yytype_int16;
|
773
778
|
#else
|
774
|
-
typedef short
|
779
|
+
typedef short yytype_int16;
|
775
780
|
#endif
|
776
781
|
|
777
782
|
#ifndef YYSIZE_T
|
@@ -783,7 +788,7 @@ typedef short int yytype_int16;
|
|
783
788
|
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
|
784
789
|
# define YYSIZE_T size_t
|
785
790
|
# else
|
786
|
-
# define YYSIZE_T unsigned
|
791
|
+
# define YYSIZE_T unsigned
|
787
792
|
# endif
|
788
793
|
#endif
|
789
794
|
|
@@ -819,15 +824,6 @@ typedef short int yytype_int16;
|
|
819
824
|
# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))
|
820
825
|
#endif
|
821
826
|
|
822
|
-
#if !defined _Noreturn \
|
823
|
-
&& (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112)
|
824
|
-
# if defined _MSC_VER && 1200 <= _MSC_VER
|
825
|
-
# define _Noreturn __declspec (noreturn)
|
826
|
-
# else
|
827
|
-
# define _Noreturn YY_ATTRIBUTE ((__noreturn__))
|
828
|
-
# endif
|
829
|
-
#endif
|
830
|
-
|
831
827
|
/* Suppress unused-variable warnings by "using" E. */
|
832
828
|
#if ! defined lint || defined __GNUC__
|
833
829
|
# define YYUSE(E) ((void) (E))
|
@@ -835,7 +831,7 @@ typedef short int yytype_int16;
|
|
835
831
|
# define YYUSE(E) /* empty */
|
836
832
|
#endif
|
837
833
|
|
838
|
-
#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
|
834
|
+
#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
|
839
835
|
/* Suppress an incorrect diagnostic about yylval being uninitialized. */
|
840
836
|
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
|
841
837
|
_Pragma ("GCC diagnostic push") \
|
@@ -997,16 +993,16 @@ union yyalloc
|
|
997
993
|
/* YYNSTATES -- Number of states. */
|
998
994
|
#define YYNSTATES 594
|
999
995
|
|
1000
|
-
/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned
|
1001
|
-
by yylex, with out-of-bounds checking. */
|
1002
996
|
#define YYUNDEFTOK 2
|
1003
997
|
#define YYMAXUTOK 429
|
1004
998
|
|
999
|
+
/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM
|
1000
|
+
as returned by yylex, with out-of-bounds checking. */
|
1005
1001
|
#define YYTRANSLATE(YYX) \
|
1006
|
-
((unsigned
|
1002
|
+
((unsigned) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
|
1007
1003
|
|
1008
1004
|
/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
|
1009
|
-
as returned by yylex
|
1005
|
+
as returned by yylex. */
|
1010
1006
|
static const yytype_uint8 yytranslate[] =
|
1011
1007
|
{
|
1012
1008
|
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
@@ -2563,22 +2559,22 @@ static const yytype_uint8 yyr2[] =
|
|
2563
2559
|
|
2564
2560
|
#define YYRECOVERING() (!!yyerrstatus)
|
2565
2561
|
|
2566
|
-
#define YYBACKUP(Token, Value)
|
2567
|
-
do \
|
2568
|
-
|
2569
|
-
|
2570
|
-
|
2571
|
-
|
2572
|
-
|
2573
|
-
|
2574
|
-
|
2575
|
-
|
2576
|
-
|
2577
|
-
|
2578
|
-
|
2579
|
-
|
2580
|
-
|
2581
|
-
while (0)
|
2562
|
+
#define YYBACKUP(Token, Value) \
|
2563
|
+
do \
|
2564
|
+
if (yychar == YYEMPTY) \
|
2565
|
+
{ \
|
2566
|
+
yychar = (Token); \
|
2567
|
+
yylval = (Value); \
|
2568
|
+
YYPOPSTACK (yylen); \
|
2569
|
+
yystate = *yyssp; \
|
2570
|
+
goto yybackup; \
|
2571
|
+
} \
|
2572
|
+
else \
|
2573
|
+
{ \
|
2574
|
+
yyerror (ret_str, YY_("syntax error: cannot back up")); \
|
2575
|
+
YYERROR; \
|
2576
|
+
} \
|
2577
|
+
while (0)
|
2582
2578
|
|
2583
2579
|
/* Error token number */
|
2584
2580
|
#define YYTERROR 1
|
@@ -2618,38 +2614,38 @@ do { \
|
|
2618
2614
|
} while (0)
|
2619
2615
|
|
2620
2616
|
|
2621
|
-
|
2622
|
-
| Print this symbol's value on
|
2623
|
-
|
2617
|
+
/*-----------------------------------.
|
2618
|
+
| Print this symbol's value on YYO. |
|
2619
|
+
`-----------------------------------*/
|
2624
2620
|
|
2625
2621
|
static void
|
2626
|
-
yy_symbol_value_print (FILE *
|
2622
|
+
yy_symbol_value_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep, char **ret_str)
|
2627
2623
|
{
|
2628
|
-
FILE *
|
2629
|
-
YYUSE (
|
2624
|
+
FILE *yyoutput = yyo;
|
2625
|
+
YYUSE (yyoutput);
|
2630
2626
|
YYUSE (ret_str);
|
2631
2627
|
if (!yyvaluep)
|
2632
2628
|
return;
|
2633
2629
|
# ifdef YYPRINT
|
2634
2630
|
if (yytype < YYNTOKENS)
|
2635
|
-
YYPRINT (
|
2631
|
+
YYPRINT (yyo, yytoknum[yytype], *yyvaluep);
|
2636
2632
|
# endif
|
2637
2633
|
YYUSE (yytype);
|
2638
2634
|
}
|
2639
2635
|
|
2640
2636
|
|
2641
|
-
|
2642
|
-
| Print this symbol on
|
2643
|
-
|
2637
|
+
/*---------------------------.
|
2638
|
+
| Print this symbol on YYO. |
|
2639
|
+
`---------------------------*/
|
2644
2640
|
|
2645
2641
|
static void
|
2646
|
-
yy_symbol_print (FILE *
|
2642
|
+
yy_symbol_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep, char **ret_str)
|
2647
2643
|
{
|
2648
|
-
YYFPRINTF (
|
2644
|
+
YYFPRINTF (yyo, "%s %s (",
|
2649
2645
|
yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);
|
2650
2646
|
|
2651
|
-
yy_symbol_value_print (
|
2652
|
-
YYFPRINTF (
|
2647
|
+
yy_symbol_value_print (yyo, yytype, yyvaluep, ret_str);
|
2648
|
+
YYFPRINTF (yyo, ")");
|
2653
2649
|
}
|
2654
2650
|
|
2655
2651
|
/*------------------------------------------------------------------.
|
@@ -2683,7 +2679,7 @@ do { \
|
|
2683
2679
|
static void
|
2684
2680
|
yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, char **ret_str)
|
2685
2681
|
{
|
2686
|
-
unsigned long
|
2682
|
+
unsigned long yylno = yyrline[yyrule];
|
2687
2683
|
int yynrhs = yyr2[yyrule];
|
2688
2684
|
int yyi;
|
2689
2685
|
YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
|
@@ -2694,7 +2690,7 @@ yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, char **ret_str
|
|
2694
2690
|
YYFPRINTF (stderr, " $%d = ", yyi + 1);
|
2695
2691
|
yy_symbol_print (stderr,
|
2696
2692
|
yystos[yyssp[yyi + 1 - yynrhs]],
|
2697
|
-
&
|
2693
|
+
&yyvsp[(yyi + 1) - (yynrhs)]
|
2698
2694
|
, ret_str);
|
2699
2695
|
YYFPRINTF (stderr, "\n");
|
2700
2696
|
}
|
@@ -2798,7 +2794,10 @@ yytnamerr (char *yyres, const char *yystr)
|
|
2798
2794
|
case '\\':
|
2799
2795
|
if (*++yyp != '\\')
|
2800
2796
|
goto do_not_strip_quotes;
|
2801
|
-
|
2797
|
+
else
|
2798
|
+
goto append;
|
2799
|
+
|
2800
|
+
append:
|
2802
2801
|
default:
|
2803
2802
|
if (yyres)
|
2804
2803
|
yyres[yyn] = *yyp;
|
@@ -2816,7 +2815,7 @@ yytnamerr (char *yyres, const char *yystr)
|
|
2816
2815
|
if (! yyres)
|
2817
2816
|
return yystrlen (yystr);
|
2818
2817
|
|
2819
|
-
return yystpcpy (yyres, yystr) - yyres;
|
2818
|
+
return (YYSIZE_T) (yystpcpy (yyres, yystr) - yyres);
|
2820
2819
|
}
|
2821
2820
|
# endif
|
2822
2821
|
|
@@ -2894,10 +2893,10 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
|
|
2894
2893
|
yyarg[yycount++] = yytname[yyx];
|
2895
2894
|
{
|
2896
2895
|
YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]);
|
2897
|
-
if (
|
2898
|
-
|
2896
|
+
if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
|
2897
|
+
yysize = yysize1;
|
2898
|
+
else
|
2899
2899
|
return 2;
|
2900
|
-
yysize = yysize1;
|
2901
2900
|
}
|
2902
2901
|
}
|
2903
2902
|
}
|
@@ -2921,9 +2920,10 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
|
|
2921
2920
|
|
2922
2921
|
{
|
2923
2922
|
YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
|
2924
|
-
if (
|
2923
|
+
if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
|
2924
|
+
yysize = yysize1;
|
2925
|
+
else
|
2925
2926
|
return 2;
|
2926
|
-
yysize = yysize1;
|
2927
2927
|
}
|
2928
2928
|
|
2929
2929
|
if (*yymsg_alloc < yysize)
|
@@ -3050,23 +3050,31 @@ yyparse (char **ret_str)
|
|
3050
3050
|
yychar = YYEMPTY; /* Cause a token to be read. */
|
3051
3051
|
goto yysetstate;
|
3052
3052
|
|
3053
|
+
|
3053
3054
|
/*------------------------------------------------------------.
|
3054
|
-
| yynewstate --
|
3055
|
+
| yynewstate -- push a new state, which is found in yystate. |
|
3055
3056
|
`------------------------------------------------------------*/
|
3056
|
-
|
3057
|
+
yynewstate:
|
3057
3058
|
/* In all cases, when you get here, the value and location stacks
|
3058
3059
|
have just been pushed. So pushing a state here evens the stacks. */
|
3059
3060
|
yyssp++;
|
3060
3061
|
|
3061
|
-
|
3062
|
-
|
3062
|
+
|
3063
|
+
/*--------------------------------------------------------------------.
|
3064
|
+
| yynewstate -- set current state (the top of the stack) to yystate. |
|
3065
|
+
`--------------------------------------------------------------------*/
|
3066
|
+
yysetstate:
|
3067
|
+
*yyssp = (yytype_int16) yystate;
|
3063
3068
|
|
3064
3069
|
if (yyss + yystacksize - 1 <= yyssp)
|
3070
|
+
#if !defined yyoverflow && !defined YYSTACK_RELOCATE
|
3071
|
+
goto yyexhaustedlab;
|
3072
|
+
#else
|
3065
3073
|
{
|
3066
3074
|
/* Get the current used size of the three stacks, in elements. */
|
3067
|
-
YYSIZE_T yysize = yyssp - yyss + 1;
|
3075
|
+
YYSIZE_T yysize = (YYSIZE_T) (yyssp - yyss + 1);
|
3068
3076
|
|
3069
|
-
#
|
3077
|
+
# if defined yyoverflow
|
3070
3078
|
{
|
3071
3079
|
/* Give user a chance to reallocate the stack. Use copies of
|
3072
3080
|
these so that the &'s don't force the real ones into
|
@@ -3082,14 +3090,10 @@ yyparse (char **ret_str)
|
|
3082
3090
|
&yyss1, yysize * sizeof (*yyssp),
|
3083
3091
|
&yyvs1, yysize * sizeof (*yyvsp),
|
3084
3092
|
&yystacksize);
|
3085
|
-
|
3086
3093
|
yyss = yyss1;
|
3087
3094
|
yyvs = yyvs1;
|
3088
3095
|
}
|
3089
|
-
#else /*
|
3090
|
-
# ifndef YYSTACK_RELOCATE
|
3091
|
-
goto yyexhaustedlab;
|
3092
|
-
# else
|
3096
|
+
# else /* defined YYSTACK_RELOCATE */
|
3093
3097
|
/* Extend the stack our own way. */
|
3094
3098
|
if (YYMAXDEPTH <= yystacksize)
|
3095
3099
|
goto yyexhaustedlab;
|
@@ -3105,22 +3109,22 @@ yyparse (char **ret_str)
|
|
3105
3109
|
goto yyexhaustedlab;
|
3106
3110
|
YYSTACK_RELOCATE (yyss_alloc, yyss);
|
3107
3111
|
YYSTACK_RELOCATE (yyvs_alloc, yyvs);
|
3108
|
-
#
|
3112
|
+
# undef YYSTACK_RELOCATE
|
3109
3113
|
if (yyss1 != yyssa)
|
3110
3114
|
YYSTACK_FREE (yyss1);
|
3111
3115
|
}
|
3112
3116
|
# endif
|
3113
|
-
#endif /* no yyoverflow */
|
3114
3117
|
|
3115
3118
|
yyssp = yyss + yysize - 1;
|
3116
3119
|
yyvsp = yyvs + yysize - 1;
|
3117
3120
|
|
3118
3121
|
YYDPRINTF ((stderr, "Stack size increased to %lu\n",
|
3119
|
-
(unsigned long
|
3122
|
+
(unsigned long) yystacksize));
|
3120
3123
|
|
3121
3124
|
if (yyss + yystacksize - 1 <= yyssp)
|
3122
3125
|
YYABORT;
|
3123
3126
|
}
|
3127
|
+
#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
|
3124
3128
|
|
3125
3129
|
YYDPRINTF ((stderr, "Entering state %d\n", yystate));
|
3126
3130
|
|
@@ -3129,11 +3133,11 @@ yyparse (char **ret_str)
|
|
3129
3133
|
|
3130
3134
|
goto yybackup;
|
3131
3135
|
|
3136
|
+
|
3132
3137
|
/*-----------.
|
3133
3138
|
| yybackup. |
|
3134
3139
|
`-----------*/
|
3135
3140
|
yybackup:
|
3136
|
-
|
3137
3141
|
/* Do appropriate processing given the current state. Read a
|
3138
3142
|
lookahead token if we need one and don't already have one. */
|
3139
3143
|
|
@@ -3206,7 +3210,7 @@ yydefault:
|
|
3206
3210
|
|
3207
3211
|
|
3208
3212
|
/*-----------------------------.
|
3209
|
-
| yyreduce --
|
3213
|
+
| yyreduce -- do a reduction. |
|
3210
3214
|
`-----------------------------*/
|
3211
3215
|
yyreduce:
|
3212
3216
|
/* yyn is the number of a rule to reduce with. */
|
@@ -3227,68 +3231,68 @@ yyreduce:
|
|
3227
3231
|
switch (yyn)
|
3228
3232
|
{
|
3229
3233
|
case 2:
|
3230
|
-
#line 287 "itex2MML.y" /* yacc.c:
|
3234
|
+
#line 287 "itex2MML.y" /* yacc.c:1652 */
|
3231
3235
|
{/* all processing done in body*/}
|
3232
|
-
#line
|
3236
|
+
#line 3237 "y.tab.c" /* yacc.c:1652 */
|
3233
3237
|
break;
|
3234
3238
|
|
3235
3239
|
case 3:
|
3236
|
-
#line 290 "itex2MML.y" /* yacc.c:
|
3240
|
+
#line 290 "itex2MML.y" /* yacc.c:1652 */
|
3237
3241
|
{/* nothing - do nothing*/}
|
3238
|
-
#line
|
3242
|
+
#line 3243 "y.tab.c" /* yacc.c:1652 */
|
3239
3243
|
break;
|
3240
3244
|
|
3241
3245
|
case 4:
|
3242
|
-
#line 291 "itex2MML.y" /* yacc.c:
|
3246
|
+
#line 291 "itex2MML.y" /* yacc.c:1652 */
|
3243
3247
|
{/* proc done in body*/}
|
3244
|
-
#line
|
3248
|
+
#line 3249 "y.tab.c" /* yacc.c:1652 */
|
3245
3249
|
break;
|
3246
3250
|
|
3247
3251
|
case 5:
|
3248
|
-
#line 292 "itex2MML.y" /* yacc.c:
|
3252
|
+
#line 292 "itex2MML.y" /* yacc.c:1652 */
|
3249
3253
|
{/* all proc. in body*/}
|
3250
|
-
#line
|
3254
|
+
#line 3255 "y.tab.c" /* yacc.c:1652 */
|
3251
3255
|
break;
|
3252
3256
|
|
3253
3257
|
case 6:
|
3254
|
-
#line 293 "itex2MML.y" /* yacc.c:
|
3258
|
+
#line 293 "itex2MML.y" /* yacc.c:1652 */
|
3255
3259
|
{/* all proc. in body*/}
|
3256
|
-
#line
|
3260
|
+
#line 3261 "y.tab.c" /* yacc.c:1652 */
|
3257
3261
|
break;
|
3258
3262
|
|
3259
3263
|
case 7:
|
3260
|
-
#line 294 "itex2MML.y" /* yacc.c:
|
3264
|
+
#line 294 "itex2MML.y" /* yacc.c:1652 */
|
3261
3265
|
{/* all proc. in body*/}
|
3262
|
-
#line
|
3266
|
+
#line 3267 "y.tab.c" /* yacc.c:1652 */
|
3263
3267
|
break;
|
3264
3268
|
|
3265
3269
|
case 8:
|
3266
|
-
#line 296 "itex2MML.y" /* yacc.c:
|
3267
|
-
{printf("%s",
|
3268
|
-
#line
|
3270
|
+
#line 296 "itex2MML.y" /* yacc.c:1652 */
|
3271
|
+
{printf("%s", yyvsp[0]);}
|
3272
|
+
#line 3273 "y.tab.c" /* yacc.c:1652 */
|
3269
3273
|
break;
|
3270
3274
|
|
3271
3275
|
case 9:
|
3272
|
-
#line 298 "itex2MML.y" /* yacc.c:
|
3276
|
+
#line 298 "itex2MML.y" /* yacc.c:1652 */
|
3273
3277
|
{/* empty math group - ignore*/}
|
3274
|
-
#line
|
3278
|
+
#line 3279 "y.tab.c" /* yacc.c:1652 */
|
3275
3279
|
break;
|
3276
3280
|
|
3277
3281
|
case 10:
|
3278
|
-
#line 299 "itex2MML.y" /* yacc.c:
|
3282
|
+
#line 299 "itex2MML.y" /* yacc.c:1652 */
|
3279
3283
|
{/* ditto */}
|
3280
|
-
#line
|
3284
|
+
#line 3285 "y.tab.c" /* yacc.c:1652 */
|
3281
3285
|
break;
|
3282
3286
|
|
3283
3287
|
case 11:
|
3284
|
-
#line 300 "itex2MML.y" /* yacc.c:
|
3288
|
+
#line 300 "itex2MML.y" /* yacc.c:1652 */
|
3285
3289
|
{
|
3286
3290
|
char ** r = (char **) ret_str;
|
3287
|
-
char * p = itex2MML_copy3("<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow>",
|
3288
|
-
char * s = itex2MML_copy3(p,
|
3291
|
+
char * p = itex2MML_copy3("<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow>", yyvsp[-1], "</mrow><annotation encoding='application/x-tex'>");
|
3292
|
+
char * s = itex2MML_copy3(p, yyvsp[0], "</annotation></semantics></math>");
|
3289
3293
|
itex2MML_free_string(p);
|
3290
|
-
itex2MML_free_string(
|
3291
|
-
itex2MML_free_string(
|
3294
|
+
itex2MML_free_string(yyvsp[-1]);
|
3295
|
+
itex2MML_free_string(yyvsp[0]);
|
3292
3296
|
if (r) {
|
3293
3297
|
(*r) = (s == itex2MML_empty_string) ? 0 : s;
|
3294
3298
|
}
|
@@ -3298,18 +3302,18 @@ yyreduce:
|
|
3298
3302
|
itex2MML_free_string(s);
|
3299
3303
|
}
|
3300
3304
|
}
|
3301
|
-
#line
|
3305
|
+
#line 3306 "y.tab.c" /* yacc.c:1652 */
|
3302
3306
|
break;
|
3303
3307
|
|
3304
3308
|
case 12:
|
3305
|
-
#line 316 "itex2MML.y" /* yacc.c:
|
3309
|
+
#line 316 "itex2MML.y" /* yacc.c:1652 */
|
3306
3310
|
{
|
3307
3311
|
char ** r = (char **) ret_str;
|
3308
|
-
char * p = itex2MML_copy3("<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow>",
|
3309
|
-
char * s = itex2MML_copy3(p,
|
3312
|
+
char * p = itex2MML_copy3("<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow>", yyvsp[-1], "</mrow><annotation encoding='application/x-tex'>");
|
3313
|
+
char * s = itex2MML_copy3(p, yyvsp[0], "</annotation></semantics></math>");
|
3310
3314
|
itex2MML_free_string(p);
|
3311
|
-
itex2MML_free_string(
|
3312
|
-
itex2MML_free_string(
|
3315
|
+
itex2MML_free_string(yyvsp[-1]);
|
3316
|
+
itex2MML_free_string(yyvsp[0]);
|
3313
3317
|
if (r) {
|
3314
3318
|
(*r) = (s == itex2MML_empty_string) ? 0 : s;
|
3315
3319
|
}
|
@@ -3319,2520 +3323,2520 @@ yyreduce:
|
|
3319
3323
|
itex2MML_free_string(s);
|
3320
3324
|
}
|
3321
3325
|
}
|
3322
|
-
#line
|
3326
|
+
#line 3327 "y.tab.c" /* yacc.c:1652 */
|
3323
3327
|
break;
|
3324
3328
|
|
3325
3329
|
case 13:
|
3326
|
-
#line 333 "itex2MML.y" /* yacc.c:
|
3330
|
+
#line 333 "itex2MML.y" /* yacc.c:1652 */
|
3327
3331
|
{
|
3328
|
-
|
3329
|
-
itex2MML_free_string(
|
3332
|
+
yyval = itex2MML_copy_string(yyvsp[0]);
|
3333
|
+
itex2MML_free_string(yyvsp[0]);
|
3330
3334
|
}
|
3331
|
-
#line
|
3335
|
+
#line 3336 "y.tab.c" /* yacc.c:1652 */
|
3332
3336
|
break;
|
3333
3337
|
|
3334
3338
|
case 14:
|
3335
|
-
#line 337 "itex2MML.y" /* yacc.c:
|
3339
|
+
#line 337 "itex2MML.y" /* yacc.c:1652 */
|
3336
3340
|
{
|
3337
|
-
|
3338
|
-
itex2MML_free_string(
|
3339
|
-
itex2MML_free_string(
|
3341
|
+
yyval = itex2MML_copy2(yyvsp[-1], yyvsp[0]);
|
3342
|
+
itex2MML_free_string(yyvsp[-1]);
|
3343
|
+
itex2MML_free_string(yyvsp[0]);
|
3340
3344
|
}
|
3341
|
-
#line
|
3345
|
+
#line 3346 "y.tab.c" /* yacc.c:1652 */
|
3342
3346
|
break;
|
3343
3347
|
|
3344
3348
|
case 15:
|
3345
|
-
#line 343 "itex2MML.y" /* yacc.c:
|
3349
|
+
#line 343 "itex2MML.y" /* yacc.c:1652 */
|
3346
3350
|
{
|
3347
3351
|
if (itex2MML_displaymode == 1) {
|
3348
|
-
char * s1 = itex2MML_copy3("<munderover>",
|
3349
|
-
char * s2 = itex2MML_copy3(
|
3350
|
-
|
3352
|
+
char * s1 = itex2MML_copy3("<munderover>", yyvsp[-4], " ");
|
3353
|
+
char * s2 = itex2MML_copy3(yyvsp[-2], " ", yyvsp[0]);
|
3354
|
+
yyval = itex2MML_copy3(s1, s2, "</munderover>");
|
3351
3355
|
itex2MML_free_string(s1);
|
3352
3356
|
itex2MML_free_string(s2);
|
3353
3357
|
}
|
3354
3358
|
else {
|
3355
|
-
char * s1 = itex2MML_copy3("<msubsup>",
|
3356
|
-
char * s2 = itex2MML_copy3(
|
3357
|
-
|
3359
|
+
char * s1 = itex2MML_copy3("<msubsup>", yyvsp[-4], " ");
|
3360
|
+
char * s2 = itex2MML_copy3(yyvsp[-2], " ", yyvsp[0]);
|
3361
|
+
yyval = itex2MML_copy3(s1, s2, "</msubsup>");
|
3358
3362
|
itex2MML_free_string(s1);
|
3359
3363
|
itex2MML_free_string(s2);
|
3360
3364
|
}
|
3361
|
-
itex2MML_free_string(
|
3362
|
-
itex2MML_free_string(
|
3363
|
-
itex2MML_free_string(
|
3365
|
+
itex2MML_free_string(yyvsp[-4]);
|
3366
|
+
itex2MML_free_string(yyvsp[-2]);
|
3367
|
+
itex2MML_free_string(yyvsp[0]);
|
3364
3368
|
}
|
3365
|
-
#line
|
3369
|
+
#line 3370 "y.tab.c" /* yacc.c:1652 */
|
3366
3370
|
break;
|
3367
3371
|
|
3368
3372
|
case 16:
|
3369
|
-
#line 362 "itex2MML.y" /* yacc.c:
|
3373
|
+
#line 362 "itex2MML.y" /* yacc.c:1652 */
|
3370
3374
|
{
|
3371
3375
|
if (itex2MML_displaymode == 1) {
|
3372
|
-
char * s1 = itex2MML_copy3("<munder>",
|
3373
|
-
|
3376
|
+
char * s1 = itex2MML_copy3("<munder>", yyvsp[-2], " ");
|
3377
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</munder>");
|
3374
3378
|
itex2MML_free_string(s1);
|
3375
3379
|
}
|
3376
3380
|
else {
|
3377
|
-
char * s1 = itex2MML_copy3("<msub>",
|
3378
|
-
|
3381
|
+
char * s1 = itex2MML_copy3("<msub>", yyvsp[-2], " ");
|
3382
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</msub>");
|
3379
3383
|
itex2MML_free_string(s1);
|
3380
3384
|
}
|
3381
|
-
itex2MML_free_string(
|
3382
|
-
itex2MML_free_string(
|
3385
|
+
itex2MML_free_string(yyvsp[-2]);
|
3386
|
+
itex2MML_free_string(yyvsp[0]);
|
3383
3387
|
}
|
3384
|
-
#line
|
3388
|
+
#line 3389 "y.tab.c" /* yacc.c:1652 */
|
3385
3389
|
break;
|
3386
3390
|
|
3387
3391
|
case 17:
|
3388
|
-
#line 376 "itex2MML.y" /* yacc.c:
|
3392
|
+
#line 376 "itex2MML.y" /* yacc.c:1652 */
|
3389
3393
|
{
|
3390
3394
|
if (itex2MML_displaymode == 1) {
|
3391
|
-
char * s1 = itex2MML_copy3("<munderover>",
|
3392
|
-
char * s2 = itex2MML_copy3(
|
3393
|
-
|
3395
|
+
char * s1 = itex2MML_copy3("<munderover>", yyvsp[-4], " ");
|
3396
|
+
char * s2 = itex2MML_copy3(yyvsp[0], " ", yyvsp[-2]);
|
3397
|
+
yyval = itex2MML_copy3(s1, s2, "</munderover>");
|
3394
3398
|
itex2MML_free_string(s1);
|
3395
3399
|
itex2MML_free_string(s2);
|
3396
3400
|
}
|
3397
3401
|
else {
|
3398
|
-
char * s1 = itex2MML_copy3("<msubsup>",
|
3399
|
-
char * s2 = itex2MML_copy3(
|
3400
|
-
|
3402
|
+
char * s1 = itex2MML_copy3("<msubsup>", yyvsp[-4], " ");
|
3403
|
+
char * s2 = itex2MML_copy3(yyvsp[0], " ", yyvsp[-2]);
|
3404
|
+
yyval = itex2MML_copy3(s1, s2, "</msubsup>");
|
3401
3405
|
itex2MML_free_string(s1);
|
3402
3406
|
itex2MML_free_string(s2);
|
3403
3407
|
}
|
3404
|
-
itex2MML_free_string(
|
3405
|
-
itex2MML_free_string(
|
3406
|
-
itex2MML_free_string(
|
3408
|
+
itex2MML_free_string(yyvsp[-4]);
|
3409
|
+
itex2MML_free_string(yyvsp[-2]);
|
3410
|
+
itex2MML_free_string(yyvsp[0]);
|
3407
3411
|
}
|
3408
|
-
#line
|
3412
|
+
#line 3413 "y.tab.c" /* yacc.c:1652 */
|
3409
3413
|
break;
|
3410
3414
|
|
3411
3415
|
case 18:
|
3412
|
-
#line 395 "itex2MML.y" /* yacc.c:
|
3416
|
+
#line 395 "itex2MML.y" /* yacc.c:1652 */
|
3413
3417
|
{
|
3414
3418
|
if (itex2MML_displaymode == 1) {
|
3415
|
-
char * s1 = itex2MML_copy3("<mover>",
|
3416
|
-
|
3419
|
+
char * s1 = itex2MML_copy3("<mover>", yyvsp[-2], " ");
|
3420
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</mover>");
|
3417
3421
|
itex2MML_free_string(s1);
|
3418
3422
|
}
|
3419
3423
|
else {
|
3420
|
-
char * s1 = itex2MML_copy3("<msup>",
|
3421
|
-
|
3424
|
+
char * s1 = itex2MML_copy3("<msup>", yyvsp[-2], " ");
|
3425
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</msup>");
|
3422
3426
|
itex2MML_free_string(s1);
|
3423
3427
|
}
|
3424
|
-
itex2MML_free_string(
|
3425
|
-
itex2MML_free_string(
|
3428
|
+
itex2MML_free_string(yyvsp[-2]);
|
3429
|
+
itex2MML_free_string(yyvsp[0]);
|
3426
3430
|
}
|
3427
|
-
#line
|
3431
|
+
#line 3432 "y.tab.c" /* yacc.c:1652 */
|
3428
3432
|
break;
|
3429
3433
|
|
3430
3434
|
case 19:
|
3431
|
-
#line 409 "itex2MML.y" /* yacc.c:
|
3435
|
+
#line 409 "itex2MML.y" /* yacc.c:1652 */
|
3432
3436
|
{
|
3433
3437
|
if (itex2MML_displaymode == 1) {
|
3434
|
-
char * s1 = itex2MML_copy3("<munderover>",
|
3435
|
-
char * s2 = itex2MML_copy3(
|
3436
|
-
|
3438
|
+
char * s1 = itex2MML_copy3("<munderover>", yyvsp[-4], " ");
|
3439
|
+
char * s2 = itex2MML_copy3(yyvsp[-2], " ", yyvsp[0]);
|
3440
|
+
yyval = itex2MML_copy3(s1, s2, "</munderover>");
|
3437
3441
|
itex2MML_free_string(s1);
|
3438
3442
|
itex2MML_free_string(s2);
|
3439
3443
|
}
|
3440
3444
|
else {
|
3441
|
-
char * s1 = itex2MML_copy3("<msubsup>",
|
3442
|
-
char * s2 = itex2MML_copy3(
|
3443
|
-
|
3445
|
+
char * s1 = itex2MML_copy3("<msubsup>", yyvsp[-4], " ");
|
3446
|
+
char * s2 = itex2MML_copy3(yyvsp[-2], " ", yyvsp[0]);
|
3447
|
+
yyval = itex2MML_copy3(s1, s2, "</msubsup>");
|
3444
3448
|
itex2MML_free_string(s1);
|
3445
3449
|
itex2MML_free_string(s2);
|
3446
3450
|
}
|
3447
|
-
itex2MML_free_string(
|
3448
|
-
itex2MML_free_string(
|
3449
|
-
itex2MML_free_string(
|
3451
|
+
itex2MML_free_string(yyvsp[-4]);
|
3452
|
+
itex2MML_free_string(yyvsp[-2]);
|
3453
|
+
itex2MML_free_string(yyvsp[0]);
|
3450
3454
|
}
|
3451
|
-
#line
|
3455
|
+
#line 3456 "y.tab.c" /* yacc.c:1652 */
|
3452
3456
|
break;
|
3453
3457
|
|
3454
3458
|
case 20:
|
3455
|
-
#line 428 "itex2MML.y" /* yacc.c:
|
3459
|
+
#line 428 "itex2MML.y" /* yacc.c:1652 */
|
3456
3460
|
{
|
3457
3461
|
if (itex2MML_displaymode == 1) {
|
3458
|
-
char * s1 = itex2MML_copy3("<munder>",
|
3459
|
-
|
3462
|
+
char * s1 = itex2MML_copy3("<munder>", yyvsp[-2], " ");
|
3463
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</munder>");
|
3460
3464
|
itex2MML_free_string(s1);
|
3461
3465
|
}
|
3462
3466
|
else {
|
3463
|
-
char * s1 = itex2MML_copy3("<msub>",
|
3464
|
-
|
3467
|
+
char * s1 = itex2MML_copy3("<msub>", yyvsp[-2], " ");
|
3468
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</msub>");
|
3465
3469
|
itex2MML_free_string(s1);
|
3466
3470
|
}
|
3467
|
-
itex2MML_free_string(
|
3468
|
-
itex2MML_free_string(
|
3471
|
+
itex2MML_free_string(yyvsp[-2]);
|
3472
|
+
itex2MML_free_string(yyvsp[0]);
|
3469
3473
|
}
|
3470
|
-
#line
|
3474
|
+
#line 3475 "y.tab.c" /* yacc.c:1652 */
|
3471
3475
|
break;
|
3472
3476
|
|
3473
3477
|
case 21:
|
3474
|
-
#line 442 "itex2MML.y" /* yacc.c:
|
3478
|
+
#line 442 "itex2MML.y" /* yacc.c:1652 */
|
3475
3479
|
{
|
3476
3480
|
if (itex2MML_displaymode == 1) {
|
3477
|
-
char * s1 = itex2MML_copy3("<munderover>",
|
3478
|
-
char * s2 = itex2MML_copy3(
|
3479
|
-
|
3481
|
+
char * s1 = itex2MML_copy3("<munderover>", yyvsp[-4], " ");
|
3482
|
+
char * s2 = itex2MML_copy3(yyvsp[0], " ", yyvsp[-2]);
|
3483
|
+
yyval = itex2MML_copy3(s1, s2, "</munderover>");
|
3480
3484
|
itex2MML_free_string(s1);
|
3481
3485
|
itex2MML_free_string(s2);
|
3482
3486
|
}
|
3483
3487
|
else {
|
3484
|
-
char * s1 = itex2MML_copy3("<msubsup>",
|
3485
|
-
char * s2 = itex2MML_copy3(
|
3486
|
-
|
3488
|
+
char * s1 = itex2MML_copy3("<msubsup>", yyvsp[-4], " ");
|
3489
|
+
char * s2 = itex2MML_copy3(yyvsp[0], " ", yyvsp[-2]);
|
3490
|
+
yyval = itex2MML_copy3(s1, s2, "</msubsup>");
|
3487
3491
|
itex2MML_free_string(s1);
|
3488
3492
|
itex2MML_free_string(s2);
|
3489
3493
|
}
|
3490
|
-
itex2MML_free_string(
|
3491
|
-
itex2MML_free_string(
|
3492
|
-
itex2MML_free_string(
|
3494
|
+
itex2MML_free_string(yyvsp[-4]);
|
3495
|
+
itex2MML_free_string(yyvsp[-2]);
|
3496
|
+
itex2MML_free_string(yyvsp[0]);
|
3493
3497
|
}
|
3494
|
-
#line
|
3498
|
+
#line 3499 "y.tab.c" /* yacc.c:1652 */
|
3495
3499
|
break;
|
3496
3500
|
|
3497
3501
|
case 22:
|
3498
|
-
#line 461 "itex2MML.y" /* yacc.c:
|
3502
|
+
#line 461 "itex2MML.y" /* yacc.c:1652 */
|
3499
3503
|
{
|
3500
3504
|
if (itex2MML_displaymode == 1) {
|
3501
|
-
char * s1 = itex2MML_copy3("<mover>",
|
3502
|
-
|
3505
|
+
char * s1 = itex2MML_copy3("<mover>", yyvsp[-2], " ");
|
3506
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</mover>");
|
3503
3507
|
itex2MML_free_string(s1);
|
3504
3508
|
}
|
3505
3509
|
else {
|
3506
|
-
char * s1 = itex2MML_copy3("<msup>",
|
3507
|
-
|
3510
|
+
char * s1 = itex2MML_copy3("<msup>", yyvsp[-2], " ");
|
3511
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</msup>");
|
3508
3512
|
itex2MML_free_string(s1);
|
3509
3513
|
}
|
3510
|
-
itex2MML_free_string(
|
3511
|
-
itex2MML_free_string(
|
3514
|
+
itex2MML_free_string(yyvsp[-2]);
|
3515
|
+
itex2MML_free_string(yyvsp[0]);
|
3512
3516
|
}
|
3513
|
-
#line
|
3517
|
+
#line 3518 "y.tab.c" /* yacc.c:1652 */
|
3514
3518
|
break;
|
3515
3519
|
|
3516
3520
|
case 23:
|
3517
|
-
#line 475 "itex2MML.y" /* yacc.c:
|
3521
|
+
#line 475 "itex2MML.y" /* yacc.c:1652 */
|
3518
3522
|
{
|
3519
|
-
char * s1 = itex2MML_copy3("<msubsup>",
|
3520
|
-
char * s2 = itex2MML_copy3(
|
3521
|
-
|
3523
|
+
char * s1 = itex2MML_copy3("<msubsup>", yyvsp[-4], " ");
|
3524
|
+
char * s2 = itex2MML_copy3(yyvsp[-2], " ", yyvsp[0]);
|
3525
|
+
yyval = itex2MML_copy3(s1, s2, "</msubsup>");
|
3522
3526
|
itex2MML_free_string(s1);
|
3523
3527
|
itex2MML_free_string(s2);
|
3524
|
-
itex2MML_free_string(
|
3525
|
-
itex2MML_free_string(
|
3526
|
-
itex2MML_free_string(
|
3528
|
+
itex2MML_free_string(yyvsp[-4]);
|
3529
|
+
itex2MML_free_string(yyvsp[-2]);
|
3530
|
+
itex2MML_free_string(yyvsp[0]);
|
3527
3531
|
}
|
3528
|
-
#line
|
3532
|
+
#line 3533 "y.tab.c" /* yacc.c:1652 */
|
3529
3533
|
break;
|
3530
3534
|
|
3531
3535
|
case 24:
|
3532
|
-
#line 485 "itex2MML.y" /* yacc.c:
|
3536
|
+
#line 485 "itex2MML.y" /* yacc.c:1652 */
|
3533
3537
|
{
|
3534
|
-
char * s1 = itex2MML_copy3("<msubsup>",
|
3535
|
-
char * s2 = itex2MML_copy3(
|
3536
|
-
|
3538
|
+
char * s1 = itex2MML_copy3("<msubsup>", yyvsp[-4], " ");
|
3539
|
+
char * s2 = itex2MML_copy3(yyvsp[0], " ", yyvsp[-2]);
|
3540
|
+
yyval = itex2MML_copy3(s1, s2, "</msubsup>");
|
3537
3541
|
itex2MML_free_string(s1);
|
3538
3542
|
itex2MML_free_string(s2);
|
3539
|
-
itex2MML_free_string(
|
3540
|
-
itex2MML_free_string(
|
3541
|
-
itex2MML_free_string(
|
3543
|
+
itex2MML_free_string(yyvsp[-4]);
|
3544
|
+
itex2MML_free_string(yyvsp[-2]);
|
3545
|
+
itex2MML_free_string(yyvsp[0]);
|
3542
3546
|
}
|
3543
|
-
#line
|
3547
|
+
#line 3548 "y.tab.c" /* yacc.c:1652 */
|
3544
3548
|
break;
|
3545
3549
|
|
3546
3550
|
case 25:
|
3547
|
-
#line 495 "itex2MML.y" /* yacc.c:
|
3551
|
+
#line 495 "itex2MML.y" /* yacc.c:1652 */
|
3548
3552
|
{
|
3549
|
-
char * s1 = itex2MML_copy3("<msub>",
|
3550
|
-
|
3553
|
+
char * s1 = itex2MML_copy3("<msub>", yyvsp[-2], " ");
|
3554
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</msub>");
|
3551
3555
|
itex2MML_free_string(s1);
|
3552
|
-
itex2MML_free_string(
|
3553
|
-
itex2MML_free_string(
|
3556
|
+
itex2MML_free_string(yyvsp[-2]);
|
3557
|
+
itex2MML_free_string(yyvsp[0]);
|
3554
3558
|
}
|
3555
|
-
#line
|
3559
|
+
#line 3560 "y.tab.c" /* yacc.c:1652 */
|
3556
3560
|
break;
|
3557
3561
|
|
3558
3562
|
case 26:
|
3559
|
-
#line 502 "itex2MML.y" /* yacc.c:
|
3563
|
+
#line 502 "itex2MML.y" /* yacc.c:1652 */
|
3560
3564
|
{
|
3561
|
-
char * s1 = itex2MML_copy3("<msup>",
|
3562
|
-
|
3565
|
+
char * s1 = itex2MML_copy3("<msup>", yyvsp[-2], " ");
|
3566
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</msup>");
|
3563
3567
|
itex2MML_free_string(s1);
|
3564
|
-
itex2MML_free_string(
|
3565
|
-
itex2MML_free_string(
|
3568
|
+
itex2MML_free_string(yyvsp[-2]);
|
3569
|
+
itex2MML_free_string(yyvsp[0]);
|
3566
3570
|
}
|
3567
|
-
#line
|
3571
|
+
#line 3572 "y.tab.c" /* yacc.c:1652 */
|
3568
3572
|
break;
|
3569
3573
|
|
3570
3574
|
case 27:
|
3571
|
-
#line 509 "itex2MML.y" /* yacc.c:
|
3575
|
+
#line 509 "itex2MML.y" /* yacc.c:1652 */
|
3572
3576
|
{
|
3573
|
-
|
3574
|
-
itex2MML_free_string(
|
3577
|
+
yyval = itex2MML_copy3("<msub><mo/>", yyvsp[0], "</msub>");
|
3578
|
+
itex2MML_free_string(yyvsp[0]);
|
3575
3579
|
}
|
3576
|
-
#line
|
3580
|
+
#line 3581 "y.tab.c" /* yacc.c:1652 */
|
3577
3581
|
break;
|
3578
3582
|
|
3579
3583
|
case 28:
|
3580
|
-
#line 513 "itex2MML.y" /* yacc.c:
|
3584
|
+
#line 513 "itex2MML.y" /* yacc.c:1652 */
|
3581
3585
|
{
|
3582
|
-
|
3583
|
-
itex2MML_free_string(
|
3586
|
+
yyval = itex2MML_copy3("<msup><mo/>", yyvsp[0], "</msup>");
|
3587
|
+
itex2MML_free_string(yyvsp[0]);
|
3584
3588
|
}
|
3585
|
-
#line
|
3589
|
+
#line 3590 "y.tab.c" /* yacc.c:1652 */
|
3586
3590
|
break;
|
3587
3591
|
|
3588
3592
|
case 29:
|
3589
|
-
#line 517 "itex2MML.y" /* yacc.c:
|
3593
|
+
#line 517 "itex2MML.y" /* yacc.c:1652 */
|
3590
3594
|
{
|
3591
|
-
|
3592
|
-
itex2MML_free_string(
|
3595
|
+
yyval = itex2MML_copy_string(yyvsp[0]);
|
3596
|
+
itex2MML_free_string(yyvsp[0]);
|
3593
3597
|
}
|
3594
|
-
#line
|
3598
|
+
#line 3599 "y.tab.c" /* yacc.c:1652 */
|
3595
3599
|
break;
|
3596
3600
|
|
3597
3601
|
case 34:
|
3598
|
-
#line 526 "itex2MML.y" /* yacc.c:
|
3602
|
+
#line 526 "itex2MML.y" /* yacc.c:1652 */
|
3599
3603
|
{
|
3600
|
-
|
3601
|
-
itex2MML_free_string(
|
3604
|
+
yyval = itex2MML_copy3("<mi>", yyvsp[0], "</mi>");
|
3605
|
+
itex2MML_free_string(yyvsp[0]);
|
3602
3606
|
}
|
3603
|
-
#line
|
3607
|
+
#line 3608 "y.tab.c" /* yacc.c:1652 */
|
3604
3608
|
break;
|
3605
3609
|
|
3606
3610
|
case 35:
|
3607
|
-
#line 530 "itex2MML.y" /* yacc.c:
|
3611
|
+
#line 530 "itex2MML.y" /* yacc.c:1652 */
|
3608
3612
|
{
|
3609
|
-
|
3610
|
-
itex2MML_free_string(
|
3613
|
+
yyval = itex2MML_copy3("<mn>", yyvsp[0], "</mn>");
|
3614
|
+
itex2MML_free_string(yyvsp[0]);
|
3611
3615
|
}
|
3612
|
-
#line
|
3616
|
+
#line 3617 "y.tab.c" /* yacc.c:1652 */
|
3613
3617
|
break;
|
3614
3618
|
|
3615
3619
|
case 105:
|
3616
|
-
#line 603 "itex2MML.y" /* yacc.c:
|
3620
|
+
#line 603 "itex2MML.y" /* yacc.c:1652 */
|
3617
3621
|
{
|
3618
|
-
|
3619
|
-
itex2MML_free_string(
|
3622
|
+
yyval = itex2MML_copy_string(yyvsp[-1]);
|
3623
|
+
itex2MML_free_string(yyvsp[-1]);
|
3620
3624
|
}
|
3621
|
-
#line
|
3625
|
+
#line 3626 "y.tab.c" /* yacc.c:1652 */
|
3622
3626
|
break;
|
3623
3627
|
|
3624
3628
|
case 106:
|
3625
|
-
#line 607 "itex2MML.y" /* yacc.c:
|
3629
|
+
#line 607 "itex2MML.y" /* yacc.c:1652 */
|
3626
3630
|
{
|
3627
|
-
|
3628
|
-
itex2MML_free_string(
|
3631
|
+
yyval = itex2MML_copy3("<mrow>", yyvsp[-1], "</mrow>");
|
3632
|
+
itex2MML_free_string(yyvsp[-1]);
|
3629
3633
|
}
|
3630
|
-
#line
|
3634
|
+
#line 3635 "y.tab.c" /* yacc.c:1652 */
|
3631
3635
|
break;
|
3632
3636
|
|
3633
3637
|
case 107:
|
3634
|
-
#line 611 "itex2MML.y" /* yacc.c:
|
3638
|
+
#line 611 "itex2MML.y" /* yacc.c:1652 */
|
3635
3639
|
{
|
3636
|
-
char * s1 = itex2MML_copy3("<mrow>",
|
3637
|
-
|
3640
|
+
char * s1 = itex2MML_copy3("<mrow>", yyvsp[-2], yyvsp[-1]);
|
3641
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</mrow>");
|
3638
3642
|
itex2MML_free_string(s1);
|
3639
|
-
itex2MML_free_string(
|
3640
|
-
itex2MML_free_string(
|
3641
|
-
itex2MML_free_string(
|
3643
|
+
itex2MML_free_string(yyvsp[-2]);
|
3644
|
+
itex2MML_free_string(yyvsp[-1]);
|
3645
|
+
itex2MML_free_string(yyvsp[0]);
|
3642
3646
|
}
|
3643
|
-
#line
|
3647
|
+
#line 3648 "y.tab.c" /* yacc.c:1652 */
|
3644
3648
|
break;
|
3645
3649
|
|
3646
3650
|
case 112:
|
3647
|
-
#line 624 "itex2MML.y" /* yacc.c:
|
3651
|
+
#line 624 "itex2MML.y" /* yacc.c:1652 */
|
3648
3652
|
{
|
3649
3653
|
itex2MML_rowposn = 2;
|
3650
|
-
|
3651
|
-
itex2MML_free_string(
|
3654
|
+
yyval = itex2MML_copy3("<mo>", yyvsp[0], "</mo>");
|
3655
|
+
itex2MML_free_string(yyvsp[0]);
|
3652
3656
|
}
|
3653
|
-
#line
|
3657
|
+
#line 3658 "y.tab.c" /* yacc.c:1652 */
|
3654
3658
|
break;
|
3655
3659
|
|
3656
3660
|
case 113:
|
3657
|
-
#line 629 "itex2MML.y" /* yacc.c:
|
3661
|
+
#line 629 "itex2MML.y" /* yacc.c:1652 */
|
3658
3662
|
{
|
3659
3663
|
itex2MML_rowposn = 2;
|
3660
|
-
|
3661
|
-
itex2MML_free_string(
|
3664
|
+
yyval = itex2MML_copy3("<mo>", yyvsp[0], "</mo>");
|
3665
|
+
itex2MML_free_string(yyvsp[0]);
|
3662
3666
|
}
|
3663
|
-
#line
|
3667
|
+
#line 3668 "y.tab.c" /* yacc.c:1652 */
|
3664
3668
|
break;
|
3665
3669
|
|
3666
3670
|
case 114:
|
3667
|
-
#line 634 "itex2MML.y" /* yacc.c:
|
3671
|
+
#line 634 "itex2MML.y" /* yacc.c:1652 */
|
3668
3672
|
{
|
3669
3673
|
itex2MML_rowposn = 2;
|
3670
|
-
|
3671
|
-
itex2MML_free_string(
|
3674
|
+
yyval = itex2MML_copy_string("");
|
3675
|
+
itex2MML_free_string(yyvsp[0]);
|
3672
3676
|
}
|
3673
|
-
#line
|
3677
|
+
#line 3678 "y.tab.c" /* yacc.c:1652 */
|
3674
3678
|
break;
|
3675
3679
|
|
3676
3680
|
case 115:
|
3677
|
-
#line 640 "itex2MML.y" /* yacc.c:
|
3681
|
+
#line 640 "itex2MML.y" /* yacc.c:1652 */
|
3678
3682
|
{
|
3679
|
-
|
3680
|
-
itex2MML_free_string(
|
3683
|
+
yyval = itex2MML_copy3("<mo>", yyvsp[0], "</mo>");
|
3684
|
+
itex2MML_free_string(yyvsp[0]);
|
3681
3685
|
}
|
3682
|
-
#line
|
3686
|
+
#line 3687 "y.tab.c" /* yacc.c:1652 */
|
3683
3687
|
break;
|
3684
3688
|
|
3685
3689
|
case 116:
|
3686
|
-
#line 644 "itex2MML.y" /* yacc.c:
|
3690
|
+
#line 644 "itex2MML.y" /* yacc.c:1652 */
|
3687
3691
|
{
|
3688
|
-
|
3689
|
-
itex2MML_free_string(
|
3692
|
+
yyval = itex2MML_copy3("<mo>", yyvsp[0], "</mo>");
|
3693
|
+
itex2MML_free_string(yyvsp[0]);
|
3690
3694
|
}
|
3691
|
-
#line
|
3695
|
+
#line 3696 "y.tab.c" /* yacc.c:1652 */
|
3692
3696
|
break;
|
3693
3697
|
|
3694
3698
|
case 117:
|
3695
|
-
#line 648 "itex2MML.y" /* yacc.c:
|
3699
|
+
#line 648 "itex2MML.y" /* yacc.c:1652 */
|
3696
3700
|
{
|
3697
|
-
|
3698
|
-
itex2MML_free_string(
|
3701
|
+
yyval = itex2MML_copy_string("");
|
3702
|
+
itex2MML_free_string(yyvsp[0]);
|
3699
3703
|
}
|
3700
|
-
#line
|
3704
|
+
#line 3705 "y.tab.c" /* yacc.c:1652 */
|
3701
3705
|
break;
|
3702
3706
|
|
3703
3707
|
case 118:
|
3704
|
-
#line 653 "itex2MML.y" /* yacc.c:
|
3708
|
+
#line 653 "itex2MML.y" /* yacc.c:1652 */
|
3705
3709
|
{
|
3706
3710
|
itex2MML_rowposn = 2;
|
3707
|
-
|
3708
|
-
itex2MML_free_string(
|
3711
|
+
yyval = itex2MML_copy3("<mo maxsize=\"1.2em\" minsize=\"1.2em\">", yyvsp[0], "</mo>");
|
3712
|
+
itex2MML_free_string(yyvsp[0]);
|
3709
3713
|
}
|
3710
|
-
#line
|
3714
|
+
#line 3715 "y.tab.c" /* yacc.c:1652 */
|
3711
3715
|
break;
|
3712
3716
|
|
3713
3717
|
case 119:
|
3714
|
-
#line 658 "itex2MML.y" /* yacc.c:
|
3718
|
+
#line 658 "itex2MML.y" /* yacc.c:1652 */
|
3715
3719
|
{
|
3716
|
-
|
3717
|
-
itex2MML_free_string(
|
3720
|
+
yyval = itex2MML_copy3("<mo maxsize=\"1.2em\" minsize=\"1.2em\">", yyvsp[0], "</mo>");
|
3721
|
+
itex2MML_free_string(yyvsp[0]);
|
3718
3722
|
}
|
3719
|
-
#line
|
3723
|
+
#line 3724 "y.tab.c" /* yacc.c:1652 */
|
3720
3724
|
break;
|
3721
3725
|
|
3722
3726
|
case 120:
|
3723
|
-
#line 662 "itex2MML.y" /* yacc.c:
|
3727
|
+
#line 662 "itex2MML.y" /* yacc.c:1652 */
|
3724
3728
|
{
|
3725
|
-
|
3726
|
-
itex2MML_free_string(
|
3729
|
+
yyval = itex2MML_copy3("<mo maxsize=\"1.2em\" minsize=\"1.2em\">", yyvsp[0], "</mo>");
|
3730
|
+
itex2MML_free_string(yyvsp[0]);
|
3727
3731
|
}
|
3728
|
-
#line
|
3732
|
+
#line 3733 "y.tab.c" /* yacc.c:1652 */
|
3729
3733
|
break;
|
3730
3734
|
|
3731
3735
|
case 121:
|
3732
|
-
#line 666 "itex2MML.y" /* yacc.c:
|
3736
|
+
#line 666 "itex2MML.y" /* yacc.c:1652 */
|
3733
3737
|
{
|
3734
3738
|
itex2MML_rowposn = 2;
|
3735
|
-
|
3736
|
-
itex2MML_free_string(
|
3739
|
+
yyval = itex2MML_copy3("<mo maxsize=\"1.8em\" minsize=\"1.8em\">", yyvsp[0], "</mo>");
|
3740
|
+
itex2MML_free_string(yyvsp[0]);
|
3737
3741
|
}
|
3738
|
-
#line
|
3742
|
+
#line 3743 "y.tab.c" /* yacc.c:1652 */
|
3739
3743
|
break;
|
3740
3744
|
|
3741
3745
|
case 122:
|
3742
|
-
#line 671 "itex2MML.y" /* yacc.c:
|
3746
|
+
#line 671 "itex2MML.y" /* yacc.c:1652 */
|
3743
3747
|
{
|
3744
|
-
|
3745
|
-
itex2MML_free_string(
|
3748
|
+
yyval = itex2MML_copy3("<mo maxsize=\"1.8em\" minsize=\"1.8em\">", yyvsp[0], "</mo>");
|
3749
|
+
itex2MML_free_string(yyvsp[0]);
|
3746
3750
|
}
|
3747
|
-
#line
|
3751
|
+
#line 3752 "y.tab.c" /* yacc.c:1652 */
|
3748
3752
|
break;
|
3749
3753
|
|
3750
3754
|
case 123:
|
3751
|
-
#line 675 "itex2MML.y" /* yacc.c:
|
3755
|
+
#line 675 "itex2MML.y" /* yacc.c:1652 */
|
3752
3756
|
{
|
3753
|
-
|
3754
|
-
itex2MML_free_string(
|
3757
|
+
yyval = itex2MML_copy3("<mo maxsize=\"1.8em\" minsize=\"1.8em\">", yyvsp[0], "</mo>");
|
3758
|
+
itex2MML_free_string(yyvsp[0]);
|
3755
3759
|
}
|
3756
|
-
#line
|
3760
|
+
#line 3761 "y.tab.c" /* yacc.c:1652 */
|
3757
3761
|
break;
|
3758
3762
|
|
3759
3763
|
case 124:
|
3760
|
-
#line 679 "itex2MML.y" /* yacc.c:
|
3764
|
+
#line 679 "itex2MML.y" /* yacc.c:1652 */
|
3761
3765
|
{
|
3762
3766
|
itex2MML_rowposn = 2;
|
3763
|
-
|
3764
|
-
itex2MML_free_string(
|
3767
|
+
yyval = itex2MML_copy3("<mo maxsize=\"2.4em\" minsize=\"2.4em\">", yyvsp[0], "</mo>");
|
3768
|
+
itex2MML_free_string(yyvsp[0]);
|
3765
3769
|
}
|
3766
|
-
#line
|
3770
|
+
#line 3771 "y.tab.c" /* yacc.c:1652 */
|
3767
3771
|
break;
|
3768
3772
|
|
3769
3773
|
case 125:
|
3770
|
-
#line 684 "itex2MML.y" /* yacc.c:
|
3774
|
+
#line 684 "itex2MML.y" /* yacc.c:1652 */
|
3771
3775
|
{
|
3772
|
-
|
3773
|
-
itex2MML_free_string(
|
3776
|
+
yyval = itex2MML_copy3("<mo maxsize=\"2.4em\" minsize=\"2.4em\">", yyvsp[0], "</mo>");
|
3777
|
+
itex2MML_free_string(yyvsp[0]);
|
3774
3778
|
}
|
3775
|
-
#line
|
3779
|
+
#line 3780 "y.tab.c" /* yacc.c:1652 */
|
3776
3780
|
break;
|
3777
3781
|
|
3778
3782
|
case 126:
|
3779
|
-
#line 688 "itex2MML.y" /* yacc.c:
|
3783
|
+
#line 688 "itex2MML.y" /* yacc.c:1652 */
|
3780
3784
|
{
|
3781
|
-
|
3782
|
-
itex2MML_free_string(
|
3785
|
+
yyval = itex2MML_copy3("<mo maxsize=\"2.4em\" minsize=\"2.4em\">", yyvsp[0], "</mo>");
|
3786
|
+
itex2MML_free_string(yyvsp[0]);
|
3783
3787
|
}
|
3784
|
-
#line
|
3788
|
+
#line 3789 "y.tab.c" /* yacc.c:1652 */
|
3785
3789
|
break;
|
3786
3790
|
|
3787
3791
|
case 127:
|
3788
|
-
#line 692 "itex2MML.y" /* yacc.c:
|
3792
|
+
#line 692 "itex2MML.y" /* yacc.c:1652 */
|
3789
3793
|
{
|
3790
3794
|
itex2MML_rowposn = 2;
|
3791
|
-
|
3792
|
-
itex2MML_free_string(
|
3795
|
+
yyval = itex2MML_copy3("<mo maxsize=\"3em\" minsize=\"3em\">", yyvsp[0], "</mo>");
|
3796
|
+
itex2MML_free_string(yyvsp[0]);
|
3793
3797
|
}
|
3794
|
-
#line
|
3798
|
+
#line 3799 "y.tab.c" /* yacc.c:1652 */
|
3795
3799
|
break;
|
3796
3800
|
|
3797
3801
|
case 128:
|
3798
|
-
#line 697 "itex2MML.y" /* yacc.c:
|
3802
|
+
#line 697 "itex2MML.y" /* yacc.c:1652 */
|
3799
3803
|
{
|
3800
|
-
|
3801
|
-
itex2MML_free_string(
|
3804
|
+
yyval = itex2MML_copy3("<mo maxsize=\"3em\" minsize=\"3em\">", yyvsp[0], "</mo>");
|
3805
|
+
itex2MML_free_string(yyvsp[0]);
|
3802
3806
|
}
|
3803
|
-
#line
|
3807
|
+
#line 3808 "y.tab.c" /* yacc.c:1652 */
|
3804
3808
|
break;
|
3805
3809
|
|
3806
3810
|
case 129:
|
3807
|
-
#line 701 "itex2MML.y" /* yacc.c:
|
3811
|
+
#line 701 "itex2MML.y" /* yacc.c:1652 */
|
3808
3812
|
{
|
3809
|
-
|
3810
|
-
itex2MML_free_string(
|
3813
|
+
yyval = itex2MML_copy3("<mo maxsize=\"3em\" minsize=\"3em\">", yyvsp[0], "</mo>");
|
3814
|
+
itex2MML_free_string(yyvsp[0]);
|
3811
3815
|
}
|
3812
|
-
#line
|
3816
|
+
#line 3817 "y.tab.c" /* yacc.c:1652 */
|
3813
3817
|
break;
|
3814
3818
|
|
3815
3819
|
case 130:
|
3816
|
-
#line 705 "itex2MML.y" /* yacc.c:
|
3820
|
+
#line 705 "itex2MML.y" /* yacc.c:1652 */
|
3817
3821
|
{
|
3818
3822
|
itex2MML_rowposn = 2;
|
3819
|
-
|
3820
|
-
itex2MML_free_string(
|
3823
|
+
yyval = itex2MML_copy3("<mo maxsize=\"1.2em\" minsize=\"1.2em\">", yyvsp[0], "</mo>");
|
3824
|
+
itex2MML_free_string(yyvsp[0]);
|
3821
3825
|
}
|
3822
|
-
#line
|
3826
|
+
#line 3827 "y.tab.c" /* yacc.c:1652 */
|
3823
3827
|
break;
|
3824
3828
|
|
3825
3829
|
case 131:
|
3826
|
-
#line 710 "itex2MML.y" /* yacc.c:
|
3830
|
+
#line 710 "itex2MML.y" /* yacc.c:1652 */
|
3827
3831
|
{
|
3828
3832
|
itex2MML_rowposn = 2;
|
3829
|
-
|
3830
|
-
itex2MML_free_string(
|
3833
|
+
yyval = itex2MML_copy3("<mo maxsize=\"1.2em\" minsize=\"1.2em\">", yyvsp[0], "</mo>");
|
3834
|
+
itex2MML_free_string(yyvsp[0]);
|
3831
3835
|
}
|
3832
|
-
#line
|
3836
|
+
#line 3837 "y.tab.c" /* yacc.c:1652 */
|
3833
3837
|
break;
|
3834
3838
|
|
3835
3839
|
case 132:
|
3836
|
-
#line 715 "itex2MML.y" /* yacc.c:
|
3840
|
+
#line 715 "itex2MML.y" /* yacc.c:1652 */
|
3837
3841
|
{
|
3838
3842
|
itex2MML_rowposn = 2;
|
3839
|
-
|
3840
|
-
itex2MML_free_string(
|
3843
|
+
yyval = itex2MML_copy3("<mo maxsize=\"1.8em\" minsize=\"1.8em\">", yyvsp[0], "</mo>");
|
3844
|
+
itex2MML_free_string(yyvsp[0]);
|
3841
3845
|
}
|
3842
|
-
#line
|
3846
|
+
#line 3847 "y.tab.c" /* yacc.c:1652 */
|
3843
3847
|
break;
|
3844
3848
|
|
3845
3849
|
case 133:
|
3846
|
-
#line 720 "itex2MML.y" /* yacc.c:
|
3850
|
+
#line 720 "itex2MML.y" /* yacc.c:1652 */
|
3847
3851
|
{
|
3848
3852
|
itex2MML_rowposn = 2;
|
3849
|
-
|
3850
|
-
itex2MML_free_string(
|
3853
|
+
yyval = itex2MML_copy3("<mo maxsize=\"1.8em\" minsize=\"1.8em\">", yyvsp[0], "</mo>");
|
3854
|
+
itex2MML_free_string(yyvsp[0]);
|
3851
3855
|
}
|
3852
|
-
#line
|
3856
|
+
#line 3857 "y.tab.c" /* yacc.c:1652 */
|
3853
3857
|
break;
|
3854
3858
|
|
3855
3859
|
case 134:
|
3856
|
-
#line 725 "itex2MML.y" /* yacc.c:
|
3860
|
+
#line 725 "itex2MML.y" /* yacc.c:1652 */
|
3857
3861
|
{
|
3858
3862
|
itex2MML_rowposn = 2;
|
3859
|
-
|
3860
|
-
itex2MML_free_string(
|
3863
|
+
yyval = itex2MML_copy3("<mo maxsize=\"2.4em\" minsize=\"2.4em\">", yyvsp[0], "</mo>");
|
3864
|
+
itex2MML_free_string(yyvsp[0]);
|
3861
3865
|
}
|
3862
|
-
#line
|
3866
|
+
#line 3867 "y.tab.c" /* yacc.c:1652 */
|
3863
3867
|
break;
|
3864
3868
|
|
3865
3869
|
case 135:
|
3866
|
-
#line 730 "itex2MML.y" /* yacc.c:
|
3870
|
+
#line 730 "itex2MML.y" /* yacc.c:1652 */
|
3867
3871
|
{
|
3868
3872
|
itex2MML_rowposn = 2;
|
3869
|
-
|
3870
|
-
itex2MML_free_string(
|
3873
|
+
yyval = itex2MML_copy3("<mo maxsize=\"2.4em\" minsize=\"2.4em\">", yyvsp[0], "</mo>");
|
3874
|
+
itex2MML_free_string(yyvsp[0]);
|
3871
3875
|
}
|
3872
|
-
#line
|
3876
|
+
#line 3877 "y.tab.c" /* yacc.c:1652 */
|
3873
3877
|
break;
|
3874
3878
|
|
3875
3879
|
case 136:
|
3876
|
-
#line 735 "itex2MML.y" /* yacc.c:
|
3880
|
+
#line 735 "itex2MML.y" /* yacc.c:1652 */
|
3877
3881
|
{
|
3878
3882
|
itex2MML_rowposn = 2;
|
3879
|
-
|
3880
|
-
itex2MML_free_string(
|
3883
|
+
yyval = itex2MML_copy3("<mo maxsize=\"3em\" minsize=\"3em\">", yyvsp[0], "</mo>");
|
3884
|
+
itex2MML_free_string(yyvsp[0]);
|
3881
3885
|
}
|
3882
|
-
#line
|
3886
|
+
#line 3887 "y.tab.c" /* yacc.c:1652 */
|
3883
3887
|
break;
|
3884
3888
|
|
3885
3889
|
case 137:
|
3886
|
-
#line 740 "itex2MML.y" /* yacc.c:
|
3890
|
+
#line 740 "itex2MML.y" /* yacc.c:1652 */
|
3887
3891
|
{
|
3888
3892
|
itex2MML_rowposn = 2;
|
3889
|
-
|
3890
|
-
itex2MML_free_string(
|
3893
|
+
yyval = itex2MML_copy3("<mo maxsize=\"3em\" minsize=\"3em\">", yyvsp[0], "</mo>");
|
3894
|
+
itex2MML_free_string(yyvsp[0]);
|
3891
3895
|
}
|
3892
|
-
#line
|
3896
|
+
#line 3897 "y.tab.c" /* yacc.c:1652 */
|
3893
3897
|
break;
|
3894
3898
|
|
3895
3899
|
case 138:
|
3896
|
-
#line 746 "itex2MML.y" /* yacc.c:
|
3900
|
+
#line 746 "itex2MML.y" /* yacc.c:1652 */
|
3897
3901
|
{
|
3898
|
-
|
3902
|
+
yyval = itex2MML_copy_string("<merror><mtext>Unknown character</mtext></merror>");
|
3899
3903
|
}
|
3900
|
-
#line
|
3904
|
+
#line 3905 "y.tab.c" /* yacc.c:1652 */
|
3901
3905
|
break;
|
3902
3906
|
|
3903
3907
|
case 139:
|
3904
|
-
#line 750 "itex2MML.y" /* yacc.c:
|
3908
|
+
#line 750 "itex2MML.y" /* yacc.c:1652 */
|
3905
3909
|
{
|
3906
|
-
|
3910
|
+
yyval = itex2MML_copy_string("<mo lspace=\"0.11111em\" rspace=\"0em\">−</mo>");
|
3907
3911
|
}
|
3908
|
-
#line
|
3912
|
+
#line 3913 "y.tab.c" /* yacc.c:1652 */
|
3909
3913
|
break;
|
3910
3914
|
|
3911
3915
|
case 140:
|
3912
|
-
#line 754 "itex2MML.y" /* yacc.c:
|
3916
|
+
#line 754 "itex2MML.y" /* yacc.c:1652 */
|
3913
3917
|
{
|
3914
|
-
|
3918
|
+
yyval = itex2MML_copy_string("<mo lspace=\"0.11111em\" rspace=\"0em\">+</mo>");
|
3915
3919
|
}
|
3916
|
-
#line
|
3920
|
+
#line 3921 "y.tab.c" /* yacc.c:1652 */
|
3917
3921
|
break;
|
3918
3922
|
|
3919
3923
|
case 142:
|
3920
|
-
#line 760 "itex2MML.y" /* yacc.c:
|
3924
|
+
#line 760 "itex2MML.y" /* yacc.c:1652 */
|
3921
3925
|
{
|
3922
3926
|
itex2MML_rowposn=2;
|
3923
|
-
|
3924
|
-
itex2MML_free_string(
|
3927
|
+
yyval = itex2MML_copy3("<mi>", yyvsp[0], "</mi>");
|
3928
|
+
itex2MML_free_string(yyvsp[0]);
|
3925
3929
|
}
|
3926
|
-
#line
|
3930
|
+
#line 3931 "y.tab.c" /* yacc.c:1652 */
|
3927
3931
|
break;
|
3928
3932
|
|
3929
3933
|
case 144:
|
3930
|
-
#line 767 "itex2MML.y" /* yacc.c:
|
3934
|
+
#line 767 "itex2MML.y" /* yacc.c:1652 */
|
3931
3935
|
{
|
3932
3936
|
itex2MML_rowposn = 2;
|
3933
|
-
|
3934
|
-
itex2MML_free_string(
|
3937
|
+
yyval = itex2MML_copy_string(yyvsp[0]);
|
3938
|
+
itex2MML_free_string(yyvsp[0]);
|
3935
3939
|
}
|
3936
|
-
#line
|
3940
|
+
#line 3941 "y.tab.c" /* yacc.c:1652 */
|
3937
3941
|
break;
|
3938
3942
|
|
3939
3943
|
case 145:
|
3940
|
-
#line 773 "itex2MML.y" /* yacc.c:
|
3944
|
+
#line 773 "itex2MML.y" /* yacc.c:1652 */
|
3941
3945
|
{
|
3942
3946
|
itex2MML_rowposn = 2;
|
3943
|
-
|
3944
|
-
itex2MML_free_string(
|
3947
|
+
yyval = itex2MML_copy3("<mo lspace=\"0.16667em\" rspace=\"0.16667em\">", yyvsp[0], "</mo>");
|
3948
|
+
itex2MML_free_string(yyvsp[0]);
|
3945
3949
|
}
|
3946
|
-
#line
|
3950
|
+
#line 3951 "y.tab.c" /* yacc.c:1652 */
|
3947
3951
|
break;
|
3948
3952
|
|
3949
3953
|
case 148:
|
3950
|
-
#line 781 "itex2MML.y" /* yacc.c:
|
3954
|
+
#line 781 "itex2MML.y" /* yacc.c:1652 */
|
3951
3955
|
{
|
3952
3956
|
itex2MML_rowposn = 2;
|
3953
|
-
|
3954
|
-
itex2MML_free_string(
|
3957
|
+
yyval = itex2MML_copy3("<mo>", yyvsp[0], "</mo>");
|
3958
|
+
itex2MML_free_string(yyvsp[0]);
|
3955
3959
|
}
|
3956
|
-
#line
|
3960
|
+
#line 3961 "y.tab.c" /* yacc.c:1652 */
|
3957
3961
|
break;
|
3958
3962
|
|
3959
3963
|
case 149:
|
3960
|
-
#line 786 "itex2MML.y" /* yacc.c:
|
3964
|
+
#line 786 "itex2MML.y" /* yacc.c:1652 */
|
3961
3965
|
{
|
3962
3966
|
itex2MML_rowposn = 2;
|
3963
|
-
|
3964
|
-
itex2MML_free_string(
|
3967
|
+
yyval = itex2MML_copy3("<mo>", yyvsp[0], "</mo>");
|
3968
|
+
itex2MML_free_string(yyvsp[0]);
|
3965
3969
|
}
|
3966
|
-
#line
|
3970
|
+
#line 3971 "y.tab.c" /* yacc.c:1652 */
|
3967
3971
|
break;
|
3968
3972
|
|
3969
3973
|
case 150:
|
3970
|
-
#line 791 "itex2MML.y" /* yacc.c:
|
3974
|
+
#line 791 "itex2MML.y" /* yacc.c:1652 */
|
3971
3975
|
{
|
3972
3976
|
itex2MML_rowposn = 2;
|
3973
|
-
|
3974
|
-
itex2MML_free_string(
|
3977
|
+
yyval = itex2MML_copy3("<mstyle scriptlevel=\"0\"><mo>", yyvsp[0], "</mo></mstyle>");
|
3978
|
+
itex2MML_free_string(yyvsp[0]);
|
3975
3979
|
}
|
3976
|
-
#line
|
3980
|
+
#line 3981 "y.tab.c" /* yacc.c:1652 */
|
3977
3981
|
break;
|
3978
3982
|
|
3979
3983
|
case 151:
|
3980
|
-
#line 796 "itex2MML.y" /* yacc.c:
|
3984
|
+
#line 796 "itex2MML.y" /* yacc.c:1652 */
|
3981
3985
|
{
|
3982
|
-
|
3983
|
-
itex2MML_free_string(
|
3986
|
+
yyval = itex2MML_copy3("<mo stretchy=\"false\">", yyvsp[0], "</mo>");
|
3987
|
+
itex2MML_free_string(yyvsp[0]);
|
3984
3988
|
}
|
3985
|
-
#line
|
3989
|
+
#line 3990 "y.tab.c" /* yacc.c:1652 */
|
3986
3990
|
break;
|
3987
3991
|
|
3988
3992
|
case 152:
|
3989
|
-
#line 800 "itex2MML.y" /* yacc.c:
|
3993
|
+
#line 800 "itex2MML.y" /* yacc.c:1652 */
|
3990
3994
|
{
|
3991
3995
|
itex2MML_rowposn = 2;
|
3992
|
-
|
3993
|
-
itex2MML_free_string(
|
3996
|
+
yyval = itex2MML_copy3("<mo stretchy=\"false\">", yyvsp[0], "</mo>");
|
3997
|
+
itex2MML_free_string(yyvsp[0]);
|
3994
3998
|
}
|
3995
|
-
#line
|
3999
|
+
#line 4000 "y.tab.c" /* yacc.c:1652 */
|
3996
4000
|
break;
|
3997
4001
|
|
3998
4002
|
case 153:
|
3999
|
-
#line 805 "itex2MML.y" /* yacc.c:
|
4003
|
+
#line 805 "itex2MML.y" /* yacc.c:1652 */
|
4000
4004
|
{
|
4001
|
-
|
4002
|
-
itex2MML_free_string(
|
4005
|
+
yyval = itex2MML_copy3("<mo stretchy=\"false\">", yyvsp[0], "</mo>");
|
4006
|
+
itex2MML_free_string(yyvsp[0]);
|
4003
4007
|
}
|
4004
|
-
#line
|
4008
|
+
#line 4009 "y.tab.c" /* yacc.c:1652 */
|
4005
4009
|
break;
|
4006
4010
|
|
4007
4011
|
case 154:
|
4008
|
-
#line 809 "itex2MML.y" /* yacc.c:
|
4012
|
+
#line 809 "itex2MML.y" /* yacc.c:1652 */
|
4009
4013
|
{
|
4010
|
-
|
4011
|
-
itex2MML_free_string(
|
4014
|
+
yyval = itex2MML_copy3("<mo stretchy=\"false\">", yyvsp[0], "</mo>");
|
4015
|
+
itex2MML_free_string(yyvsp[0]);
|
4012
4016
|
}
|
4013
|
-
#line
|
4017
|
+
#line 4018 "y.tab.c" /* yacc.c:1652 */
|
4014
4018
|
break;
|
4015
4019
|
|
4016
4020
|
case 155:
|
4017
|
-
#line 813 "itex2MML.y" /* yacc.c:
|
4021
|
+
#line 813 "itex2MML.y" /* yacc.c:1652 */
|
4018
4022
|
{
|
4019
|
-
|
4020
|
-
itex2MML_free_string(
|
4023
|
+
yyval = itex2MML_copy3("<mo>", yyvsp[0], "</mo>");
|
4024
|
+
itex2MML_free_string(yyvsp[0]);
|
4021
4025
|
}
|
4022
|
-
#line
|
4026
|
+
#line 4027 "y.tab.c" /* yacc.c:1652 */
|
4023
4027
|
break;
|
4024
4028
|
|
4025
4029
|
case 156:
|
4026
|
-
#line 817 "itex2MML.y" /* yacc.c:
|
4030
|
+
#line 817 "itex2MML.y" /* yacc.c:1652 */
|
4027
4031
|
{
|
4028
4032
|
itex2MML_rowposn=2;
|
4029
|
-
|
4030
|
-
itex2MML_free_string(
|
4033
|
+
yyval = itex2MML_copy3("<mo lspace=\"0.22222em\" rspace=\"0.22222em\">", yyvsp[0], "</mo>");
|
4034
|
+
itex2MML_free_string(yyvsp[0]);
|
4031
4035
|
}
|
4032
|
-
#line
|
4036
|
+
#line 4037 "y.tab.c" /* yacc.c:1652 */
|
4033
4037
|
break;
|
4034
4038
|
|
4035
4039
|
case 157:
|
4036
|
-
#line 822 "itex2MML.y" /* yacc.c:
|
4040
|
+
#line 822 "itex2MML.y" /* yacc.c:1652 */
|
4037
4041
|
{
|
4038
4042
|
itex2MML_rowposn = 2;
|
4039
|
-
|
4040
|
-
itex2MML_free_string(
|
4043
|
+
yyval = itex2MML_copy3("<mo lspace=\"0em\" rspace=\"0.16667em\">", yyvsp[0], "</mo>");
|
4044
|
+
itex2MML_free_string(yyvsp[0]);
|
4041
4045
|
}
|
4042
|
-
#line
|
4046
|
+
#line 4047 "y.tab.c" /* yacc.c:1652 */
|
4043
4047
|
break;
|
4044
4048
|
|
4045
4049
|
case 158:
|
4046
|
-
#line 827 "itex2MML.y" /* yacc.c:
|
4050
|
+
#line 827 "itex2MML.y" /* yacc.c:1652 */
|
4047
4051
|
{
|
4048
4052
|
itex2MML_rowposn = 2;
|
4049
|
-
|
4050
|
-
itex2MML_free_string(
|
4053
|
+
yyval = itex2MML_copy3("<mo lspace=\"0.11111em\">", yyvsp[0], "</mo>");
|
4054
|
+
itex2MML_free_string(yyvsp[0]);
|
4051
4055
|
}
|
4052
|
-
#line
|
4056
|
+
#line 4057 "y.tab.c" /* yacc.c:1652 */
|
4053
4057
|
break;
|
4054
4058
|
|
4055
4059
|
case 159:
|
4056
|
-
#line 832 "itex2MML.y" /* yacc.c:
|
4060
|
+
#line 832 "itex2MML.y" /* yacc.c:1652 */
|
4057
4061
|
{
|
4058
4062
|
itex2MML_rowposn = 2;
|
4059
|
-
|
4060
|
-
itex2MML_free_string(
|
4063
|
+
yyval = itex2MML_copy3("<mo lspace=\"0em\" rspace=\"0.16667em\">", yyvsp[0], "</mo>");
|
4064
|
+
itex2MML_free_string(yyvsp[0]);
|
4061
4065
|
}
|
4062
|
-
#line
|
4066
|
+
#line 4067 "y.tab.c" /* yacc.c:1652 */
|
4063
4067
|
break;
|
4064
4068
|
|
4065
4069
|
case 160:
|
4066
|
-
#line 837 "itex2MML.y" /* yacc.c:
|
4070
|
+
#line 837 "itex2MML.y" /* yacc.c:1652 */
|
4067
4071
|
{
|
4068
4072
|
itex2MML_rowposn = 2;
|
4069
|
-
|
4070
|
-
itex2MML_free_string(
|
4073
|
+
yyval = itex2MML_copy3("<mo lspace=\"0.16667em\" rspace=\"0.16667em\">", yyvsp[0], "</mo>");
|
4074
|
+
itex2MML_free_string(yyvsp[0]);
|
4071
4075
|
}
|
4072
|
-
#line
|
4076
|
+
#line 4077 "y.tab.c" /* yacc.c:1652 */
|
4073
4077
|
break;
|
4074
4078
|
|
4075
4079
|
case 161:
|
4076
|
-
#line 842 "itex2MML.y" /* yacc.c:
|
4080
|
+
#line 842 "itex2MML.y" /* yacc.c:1652 */
|
4077
4081
|
{
|
4078
4082
|
itex2MML_rowposn = 2;
|
4079
|
-
|
4080
|
-
itex2MML_free_string(
|
4083
|
+
yyval = itex2MML_copy3("<mo lspace=\"0.22222em\" rspace=\"0.22222em\">", yyvsp[0], "</mo>");
|
4084
|
+
itex2MML_free_string(yyvsp[0]);
|
4081
4085
|
}
|
4082
|
-
#line
|
4086
|
+
#line 4087 "y.tab.c" /* yacc.c:1652 */
|
4083
4087
|
break;
|
4084
4088
|
|
4085
4089
|
case 162:
|
4086
|
-
#line 847 "itex2MML.y" /* yacc.c:
|
4090
|
+
#line 847 "itex2MML.y" /* yacc.c:1652 */
|
4087
4091
|
{
|
4088
4092
|
itex2MML_rowposn = 2;
|
4089
|
-
|
4090
|
-
itex2MML_free_string(
|
4093
|
+
yyval = itex2MML_copy3("<mo lspace=\"0.27778em\" rspace=\"0.27778em\">", yyvsp[0], "</mo>");
|
4094
|
+
itex2MML_free_string(yyvsp[0]);
|
4091
4095
|
}
|
4092
|
-
#line
|
4096
|
+
#line 4097 "y.tab.c" /* yacc.c:1652 */
|
4093
4097
|
break;
|
4094
4098
|
|
4095
4099
|
case 163:
|
4096
|
-
#line 853 "itex2MML.y" /* yacc.c:
|
4100
|
+
#line 853 "itex2MML.y" /* yacc.c:1652 */
|
4097
4101
|
{
|
4098
|
-
char * s1 = itex2MML_copy3("<mspace height=\"",
|
4099
|
-
char * s2 = itex2MML_copy3(
|
4100
|
-
|
4102
|
+
char * s1 = itex2MML_copy3("<mspace height=\"", yyvsp[-7], "ex\" depth=\"");
|
4103
|
+
char * s2 = itex2MML_copy3(yyvsp[-4], "ex\" width=\"", yyvsp[-1]);
|
4104
|
+
yyval = itex2MML_copy3(s1, s2, "em\"/>");
|
4101
4105
|
itex2MML_free_string(s1);
|
4102
4106
|
itex2MML_free_string(s2);
|
4103
|
-
itex2MML_free_string(
|
4104
|
-
itex2MML_free_string(
|
4105
|
-
itex2MML_free_string(
|
4107
|
+
itex2MML_free_string(yyvsp[-7]);
|
4108
|
+
itex2MML_free_string(yyvsp[-4]);
|
4109
|
+
itex2MML_free_string(yyvsp[-1]);
|
4106
4110
|
}
|
4107
|
-
#line
|
4111
|
+
#line 4112 "y.tab.c" /* yacc.c:1652 */
|
4108
4112
|
break;
|
4109
4113
|
|
4110
4114
|
case 164:
|
4111
|
-
#line 864 "itex2MML.y" /* yacc.c:
|
4115
|
+
#line 864 "itex2MML.y" /* yacc.c:1652 */
|
4112
4116
|
{
|
4113
|
-
char * s1 = itex2MML_copy3("<maction actiontype=\"statusline\">",
|
4114
|
-
|
4117
|
+
char * s1 = itex2MML_copy3("<maction actiontype=\"statusline\">", yyvsp[0], "<mtext>");
|
4118
|
+
yyval = itex2MML_copy3(s1, yyvsp[-1], "</mtext></maction>");
|
4115
4119
|
itex2MML_free_string(s1);
|
4116
|
-
itex2MML_free_string(
|
4117
|
-
itex2MML_free_string(
|
4120
|
+
itex2MML_free_string(yyvsp[-1]);
|
4121
|
+
itex2MML_free_string(yyvsp[0]);
|
4118
4122
|
}
|
4119
|
-
#line
|
4123
|
+
#line 4124 "y.tab.c" /* yacc.c:1652 */
|
4120
4124
|
break;
|
4121
4125
|
|
4122
4126
|
case 165:
|
4123
|
-
#line 872 "itex2MML.y" /* yacc.c:
|
4127
|
+
#line 872 "itex2MML.y" /* yacc.c:1652 */
|
4124
4128
|
{
|
4125
|
-
char * s1 = itex2MML_copy3("<maction actiontype=\"tooltip\">",
|
4126
|
-
|
4129
|
+
char * s1 = itex2MML_copy3("<maction actiontype=\"tooltip\">", yyvsp[0], "<mtext>");
|
4130
|
+
yyval = itex2MML_copy3(s1, yyvsp[-1], "</mtext></maction>");
|
4127
4131
|
itex2MML_free_string(s1);
|
4128
|
-
itex2MML_free_string(
|
4129
|
-
itex2MML_free_string(
|
4132
|
+
itex2MML_free_string(yyvsp[-1]);
|
4133
|
+
itex2MML_free_string(yyvsp[0]);
|
4130
4134
|
}
|
4131
|
-
#line
|
4135
|
+
#line 4136 "y.tab.c" /* yacc.c:1652 */
|
4132
4136
|
break;
|
4133
4137
|
|
4134
4138
|
case 166:
|
4135
|
-
#line 880 "itex2MML.y" /* yacc.c:
|
4139
|
+
#line 880 "itex2MML.y" /* yacc.c:1652 */
|
4136
4140
|
{
|
4137
|
-
char * s1 = itex2MML_copy3("<maction actiontype=\"toggle\" selection=\"2\">",
|
4138
|
-
|
4141
|
+
char * s1 = itex2MML_copy3("<maction actiontype=\"toggle\" selection=\"2\">", yyvsp[-1], " ");
|
4142
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</maction>");
|
4139
4143
|
itex2MML_free_string(s1);
|
4140
|
-
itex2MML_free_string(
|
4141
|
-
itex2MML_free_string(
|
4144
|
+
itex2MML_free_string(yyvsp[-1]);
|
4145
|
+
itex2MML_free_string(yyvsp[0]);
|
4142
4146
|
}
|
4143
|
-
#line
|
4147
|
+
#line 4148 "y.tab.c" /* yacc.c:1652 */
|
4144
4148
|
break;
|
4145
4149
|
|
4146
4150
|
case 167:
|
4147
|
-
#line 887 "itex2MML.y" /* yacc.c:
|
4151
|
+
#line 887 "itex2MML.y" /* yacc.c:1652 */
|
4148
4152
|
{
|
4149
|
-
|
4150
|
-
itex2MML_free_string(
|
4153
|
+
yyval = itex2MML_copy3("<maction actiontype=\"toggle\">", yyvsp[-1], "</maction>");
|
4154
|
+
itex2MML_free_string(yyvsp[-1]);
|
4151
4155
|
}
|
4152
|
-
#line
|
4156
|
+
#line 4157 "y.tab.c" /* yacc.c:1652 */
|
4153
4157
|
break;
|
4154
4158
|
|
4155
4159
|
case 168:
|
4156
|
-
#line 892 "itex2MML.y" /* yacc.c:
|
4160
|
+
#line 892 "itex2MML.y" /* yacc.c:1652 */
|
4157
4161
|
{
|
4158
|
-
char * s1 = itex2MML_copy3("<maction actiontype=\"highlight\" other='color=",
|
4159
|
-
|
4162
|
+
char * s1 = itex2MML_copy3("<maction actiontype=\"highlight\" other='color=", yyvsp[-1], "'>");
|
4163
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</maction>");
|
4160
4164
|
itex2MML_free_string(s1);
|
4161
|
-
itex2MML_free_string(
|
4162
|
-
itex2MML_free_string(
|
4165
|
+
itex2MML_free_string(yyvsp[-1]);
|
4166
|
+
itex2MML_free_string(yyvsp[0]);
|
4163
4167
|
}
|
4164
|
-
#line
|
4168
|
+
#line 4169 "y.tab.c" /* yacc.c:1652 */
|
4165
4169
|
break;
|
4166
4170
|
|
4167
4171
|
case 169:
|
4168
|
-
#line 900 "itex2MML.y" /* yacc.c:
|
4172
|
+
#line 900 "itex2MML.y" /* yacc.c:1652 */
|
4169
4173
|
{
|
4170
|
-
char * s1 = itex2MML_copy3("<maction actiontype=\"highlight\" other='background=",
|
4171
|
-
|
4174
|
+
char * s1 = itex2MML_copy3("<maction actiontype=\"highlight\" other='background=", yyvsp[-1], "'>");
|
4175
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</maction>");
|
4172
4176
|
itex2MML_free_string(s1);
|
4173
|
-
itex2MML_free_string(
|
4174
|
-
itex2MML_free_string(
|
4177
|
+
itex2MML_free_string(yyvsp[-1]);
|
4178
|
+
itex2MML_free_string(yyvsp[0]);
|
4175
4179
|
}
|
4176
|
-
#line
|
4180
|
+
#line 4181 "y.tab.c" /* yacc.c:1652 */
|
4177
4181
|
break;
|
4178
4182
|
|
4179
4183
|
case 170:
|
4180
|
-
#line 908 "itex2MML.y" /* yacc.c:
|
4184
|
+
#line 908 "itex2MML.y" /* yacc.c:1652 */
|
4181
4185
|
{
|
4182
|
-
char * s1 = itex2MML_copy3("<mstyle mathcolor=",
|
4183
|
-
|
4186
|
+
char * s1 = itex2MML_copy3("<mstyle mathcolor=", yyvsp[-1], ">");
|
4187
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</mstyle>");
|
4184
4188
|
itex2MML_free_string(s1);
|
4185
|
-
itex2MML_free_string(
|
4186
|
-
itex2MML_free_string(
|
4189
|
+
itex2MML_free_string(yyvsp[-1]);
|
4190
|
+
itex2MML_free_string(yyvsp[0]);
|
4187
4191
|
}
|
4188
|
-
#line
|
4192
|
+
#line 4193 "y.tab.c" /* yacc.c:1652 */
|
4189
4193
|
break;
|
4190
4194
|
|
4191
4195
|
case 171:
|
4192
|
-
#line 915 "itex2MML.y" /* yacc.c:
|
4196
|
+
#line 915 "itex2MML.y" /* yacc.c:1652 */
|
4193
4197
|
{
|
4194
|
-
char * s1 = itex2MML_copy3("<mstyle mathbackground=",
|
4195
|
-
|
4198
|
+
char * s1 = itex2MML_copy3("<mstyle mathbackground=", yyvsp[-1], ">");
|
4199
|
+
yyval = itex2MML_copy3(s1, yyvsp[0], "</mstyle>");
|
4196
4200
|
itex2MML_free_string(s1);
|
4197
|
-
itex2MML_free_string(
|
4198
|
-
itex2MML_free_string(
|
4201
|
+
itex2MML_free_string(yyvsp[-1]);
|
4202
|
+
itex2MML_free_string(yyvsp[0]);
|
4199
4203
|
}
|
4200
|
-
#line
|
4204
|
+
#line 4205 "y.tab.c" /* yacc.c:1652 */
|
4201
4205
|
break;
|
4202
4206
|
|
4203
4207
|
case 172:
|
4204
|
-
#line 923 "itex2MML.y" /* yacc.c:
|
4208
|
+
#line 923 "itex2MML.y" /* yacc.c:1652 */
|
4205
4209
|
{
|
4206
|
-
|
4207
|
-
itex2MML_free_string(
|
4210
|
+
yyval = itex2MML_copy3("<mpadded width=\"0px\">", yyvsp[0], "</mpadded>");
|
4211
|
+
itex2MML_free_string(yyvsp[0]);
|
4208
4212
|
}
|
4209
|
-
#line
|
4213
|
+
#line 4214 "y.tab.c" /* yacc.c:1652 */
|
4210
4214
|
break;
|
4211
4215
|
|
4212
4216
|
case 173:
|
4213
|
-
#line 928 "itex2MML.y" /* yacc.c:
|
4217
|
+
#line 928 "itex2MML.y" /* yacc.c:1652 */
|
4214
4218
|
{
|
4215
|
-
|
4216
|
-
itex2MML_free_string(
|
4219
|
+
yyval = itex2MML_copy3("<mpadded width=\"0px\" lspace=\"-100%width\">", yyvsp[0], "</mpadded>");
|
4220
|
+
itex2MML_free_string(yyvsp[0]);
|
4217
4221
|
}
|
4218
|
-
#line
|
4222
|
+
#line 4223 "y.tab.c" /* yacc.c:1652 */
|
4219
4223
|
break;
|
4220
4224
|
|
4221
4225
|
case 174:
|
4222
|
-
#line 933 "itex2MML.y" /* yacc.c:
|
4226
|
+
#line 933 "itex2MML.y" /* yacc.c:1652 */
|
4223
4227
|
{
|
4224
|
-
|
4225
|
-
itex2MML_free_string(
|
4228
|
+
yyval = itex2MML_copy3("<mpadded width=\"0px\" lspace=\"-50%width\">", yyvsp[0], "</mpadded>");
|
4229
|
+
itex2MML_free_string(yyvsp[0]);
|
4226
4230
|
}
|
4227
|
-
#line
|
4231
|
+
#line 4232 "y.tab.c" /* yacc.c:1652 */
|
4228
4232
|
break;
|
4229
4233
|
|
4230
4234
|
case 175:
|
4231
|
-
#line 938 "itex2MML.y" /* yacc.c:
|
4235
|
+
#line 938 "itex2MML.y" /* yacc.c:1652 */
|
4232
4236
|
{
|
4233
|
-
|
4234
|
-
itex2MML_free_string(
|
4237
|
+
yyval = itex2MML_copy3("<mtext>", yyvsp[0], "</mtext>");
|
4238
|
+
itex2MML_free_string(yyvsp[0]);
|
4235
4239
|
}
|
4236
|
-
#line
|
4240
|
+
#line 4241 "y.tab.c" /* yacc.c:1652 */
|
4237
4241
|
break;
|
4238
4242
|
|
4239
4243
|
case 176:
|
4240
|
-
#line 943 "itex2MML.y" /* yacc.c:
|
4244
|
+
#line 943 "itex2MML.y" /* yacc.c:1652 */
|
4241
4245
|
{
|
4242
|
-
|
4243
|
-
itex2MML_free_string(
|
4246
|
+
yyval = itex2MML_copy3("<mstyle displaystyle=\"true\">", yyvsp[0], "</mstyle>");
|
4247
|
+
itex2MML_free_string(yyvsp[0]);
|
4244
4248
|
}
|
4245
|
-
#line
|
4249
|
+
#line 4250 "y.tab.c" /* yacc.c:1652 */
|
4246
4250
|
break;
|
4247
4251
|
|
4248
4252
|
case 177:
|
4249
|
-
#line 948 "itex2MML.y" /* yacc.c:
|
4253
|
+
#line 948 "itex2MML.y" /* yacc.c:1652 */
|
4250
4254
|
{
|
4251
|
-
|
4252
|
-
itex2MML_free_string(
|
4255
|
+
yyval = itex2MML_copy3("<mstyle displaystyle=\"false\">", yyvsp[0], "</mstyle>");
|
4256
|
+
itex2MML_free_string(yyvsp[0]);
|
4253
4257
|
}
|
4254
|
-
#line
|
4258
|
+
#line 4259 "y.tab.c" /* yacc.c:1652 */
|
4255
4259
|
break;
|
4256
4260
|
|
4257
4261
|
case 178:
|
4258
|
-
#line 953 "itex2MML.y" /* yacc.c:
|
4262
|
+
#line 953 "itex2MML.y" /* yacc.c:1652 */
|
4259
4263
|
{
|
4260
|
-
|
4261
|
-
itex2MML_free_string(
|
4264
|
+
yyval = itex2MML_copy3("<mstyle scriptlevel=\"0\">", yyvsp[0], "</mstyle>");
|
4265
|
+
itex2MML_free_string(yyvsp[0]);
|
4262
4266
|
}
|
4263
|
-
#line
|
4267
|
+
#line 4268 "y.tab.c" /* yacc.c:1652 */
|
4264
4268
|
break;
|
4265
4269
|
|
4266
4270
|
case 179:
|
4267
|
-
#line 958 "itex2MML.y" /* yacc.c:
|
4271
|
+
#line 958 "itex2MML.y" /* yacc.c:1652 */
|
4268
4272
|
{
|
4269
|
-
|
4270
|
-
itex2MML_free_string(
|
4273
|
+
yyval = itex2MML_copy3("<mstyle scriptlevel=\"1\">", yyvsp[0], "</mstyle>");
|
4274
|
+
itex2MML_free_string(yyvsp[0]);
|
4271
4275
|
}
|
4272
|
-
#line
|
4276
|
+
#line 4277 "y.tab.c" /* yacc.c:1652 */
|
4273
4277
|
break;
|
4274
4278
|
|
4275
4279
|
case 180:
|
4276
|
-
#line 963 "itex2MML.y" /* yacc.c:
|
4280
|
+
#line 963 "itex2MML.y" /* yacc.c:1652 */
|
4277
4281
|
{
|
4278
|
-
|
4279
|
-
itex2MML_free_string(
|
4282
|
+
yyval = itex2MML_copy3("<mstyle scriptlevel=\"2\">", yyvsp[0], "</mstyle>");
|
4283
|
+
itex2MML_free_string(yyvsp[0]);
|
4280
4284
|
}
|
4281
|
-
#line
|
4285
|
+
#line 4286 "y.tab.c" /* yacc.c:1652 */
|
4282
4286
|
break;
|
4283
4287
|
|
4284
4288
|
case 181:
|
4285
|
-
#line 968 "itex2MML.y" /* yacc.c:
|
4289
|
+
#line 968 "itex2MML.y" /* yacc.c:1652 */
|
4286
4290
|
{
|
4287
|
-
|
4288
|
-
itex2MML_free_string(
|
4291
|
+
yyval = itex2MML_copy3("<mstyle mathvariant=\"italic\">", yyvsp[0], "</mstyle>");
|
4292
|
+
itex2MML_free_string(yyvsp[0]);
|
4289
4293
|
}
|
4290
|
-
#line
|
4294
|
+
#line 4295 "y.tab.c" /* yacc.c:1652 */
|
4291
4295
|
break;
|
4292
4296
|
|
4293
4297
|
case 182:
|
4294
|
-
#line 973 "itex2MML.y" /* yacc.c:
|
4298
|
+
#line 973 "itex2MML.y" /* yacc.c:1652 */
|
4295
4299
|
{
|
4296
|
-
|
4297
|
-
itex2MML_free_string(
|
4300
|
+
yyval = itex2MML_copy3("<mstyle mathvariant=\"sans-serif\">", yyvsp[0], "</mstyle>");
|
4301
|
+
itex2MML_free_string(yyvsp[0]);
|
4298
4302
|
}
|
4299
|
-
#line
|
4303
|
+
#line 4304 "y.tab.c" /* yacc.c:1652 */
|
4300
4304
|
break;
|
4301
4305
|
|
4302
4306
|
case 183:
|
4303
|
-
#line 978 "itex2MML.y" /* yacc.c:
|
4307
|
+
#line 978 "itex2MML.y" /* yacc.c:1652 */
|
4304
4308
|
{
|
4305
|
-
|
4306
|
-
itex2MML_free_string(
|
4309
|
+
yyval = itex2MML_copy3("<mstyle mathvariant=\"monospace\">", yyvsp[0], "</mstyle>");
|
4310
|
+
itex2MML_free_string(yyvsp[0]);
|
4307
4311
|
}
|
4308
|
-
#line
|
4312
|
+
#line 4313 "y.tab.c" /* yacc.c:1652 */
|
4309
4313
|
break;
|
4310
4314
|
|
4311
4315
|
case 184:
|
4312
|
-
#line 983 "itex2MML.y" /* yacc.c:
|
4316
|
+
#line 983 "itex2MML.y" /* yacc.c:1652 */
|
4313
4317
|
{
|
4314
|
-
|
4315
|
-
itex2MML_free_string(
|
4318
|
+
yyval = itex2MML_copy3("<menclose notation=\"updiagonalstrike\">", yyvsp[0], "</menclose>");
|
4319
|
+
itex2MML_free_string(yyvsp[0]);
|
4316
4320
|
}
|
4317
|
-
#line
|
4321
|
+
#line 4322 "y.tab.c" /* yacc.c:1652 */
|
4318
4322
|
break;
|
4319
4323
|
|
4320
4324
|
case 185:
|
4321
|
-
#line 988 "itex2MML.y" /* yacc.c:
|
4325
|
+
#line 988 "itex2MML.y" /* yacc.c:1652 */
|
4322
4326
|
{
|
4323
|
-
|
4324
|
-
itex2MML_free_string(
|
4327
|
+
yyval = itex2MML_copy3("<menclose notation=\"box\">", yyvsp[0], "</menclose>");
|
4328
|
+
itex2MML_free_string(yyvsp[0]);
|
4325
4329
|
}
|
4326
|
-
#line
|
4330
|
+
#line 4331 "y.tab.c" /* yacc.c:1652 */
|
4327
4331
|
break;
|
4328
4332
|
|
4329
4333
|
case 186:
|
4330
|
-
#line 993 "itex2MML.y" /* yacc.c:
|
4334
|
+
#line 993 "itex2MML.y" /* yacc.c:1652 */
|
4331
4335
|
{
|
4332
|
-
|
4333
|
-
itex2MML_free_string(
|
4336
|
+
yyval = itex2MML_copy3("<mstyle mathvariant=\"bold\">", yyvsp[0], "</mstyle>");
|
4337
|
+
itex2MML_free_string(yyvsp[0]);
|
4334
4338
|
}
|
4335
|
-
#line
|
4339
|
+
#line 4340 "y.tab.c" /* yacc.c:1652 */
|
4336
4340
|
break;
|
4337
4341
|
|
4338
4342
|
case 187:
|
4339
|
-
#line 998 "itex2MML.y" /* yacc.c:
|
4343
|
+
#line 998 "itex2MML.y" /* yacc.c:1652 */
|
4340
4344
|
{
|
4341
|
-
|
4342
|
-
itex2MML_free_string(
|
4345
|
+
yyval = itex2MML_copy3("<mi mathvariant=\"normal\">", yyvsp[-1], "</mi>");
|
4346
|
+
itex2MML_free_string(yyvsp[-1]);
|
4343
4347
|
}
|
4344
|
-
#line
|
4348
|
+
#line 4349 "y.tab.c" /* yacc.c:1652 */
|
4345
4349
|
break;
|
4346
4350
|
|
4347
4351
|
case 188:
|
4348
|
-
#line 1003 "itex2MML.y" /* yacc.c:
|
4352
|
+
#line 1003 "itex2MML.y" /* yacc.c:1652 */
|
4349
4353
|
{
|
4350
|
-
|
4351
|
-
itex2MML_free_string(
|
4354
|
+
yyval = itex2MML_copy_string(yyvsp[0]);
|
4355
|
+
itex2MML_free_string(yyvsp[0]);
|
4352
4356
|
}
|
4353
|
-
#line
|
4357
|
+
#line 4358 "y.tab.c" /* yacc.c:1652 */
|
4354
4358
|
break;
|
4355
4359
|
|
4356
4360
|
case 189:
|
4357
|
-
#line 1007 "itex2MML.y" /* yacc.c:
|
4361
|
+
#line 1007 "itex2MML.y" /* yacc.c:1652 */
|
4358
4362
|
{
|
4359
|
-
|
4360
|
-
itex2MML_free_string(
|
4361
|
-
itex2MML_free_string(
|
4363
|
+
yyval = itex2MML_copy2(yyvsp[-1], yyvsp[0]);
|
4364
|
+
itex2MML_free_string(yyvsp[-1]);
|
4365
|
+
itex2MML_free_string(yyvsp[0]);
|
4362
4366
|
}
|
4363
|
-
#line
|
4367
|
+
#line 4368 "y.tab.c" /* yacc.c:1652 */
|
4364
4368
|
break;
|
4365
4369
|
|
4366
4370
|
case 190:
|
4367
|
-
#line 1013 "itex2MML.y" /* yacc.c:
|
4371
|
+
#line 1013 "itex2MML.y" /* yacc.c:1652 */
|
4368
4372
|
{
|
4369
|
-
|
4370
|
-
itex2MML_free_string(
|
4373
|
+
yyval = itex2MML_copy3("<mi>", yyvsp[-1], "</mi>");
|
4374
|
+
itex2MML_free_string(yyvsp[-1]);
|
4371
4375
|
}
|
4372
|
-
#line
|
4376
|
+
#line 4377 "y.tab.c" /* yacc.c:1652 */
|
4373
4377
|
break;
|
4374
4378
|
|
4375
4379
|
case 191:
|
4376
|
-
#line 1018 "itex2MML.y" /* yacc.c:
|
4380
|
+
#line 1018 "itex2MML.y" /* yacc.c:1652 */
|
4377
4381
|
{
|
4378
|
-
|
4379
|
-
itex2MML_free_string(
|
4382
|
+
yyval = itex2MML_copy_string(yyvsp[0]);
|
4383
|
+
itex2MML_free_string(yyvsp[0]);
|
4380
4384
|
}
|
4381
|
-
#line
|
4385
|
+
#line 4386 "y.tab.c" /* yacc.c:1652 */
|
4382
4386
|
break;
|
4383
4387
|
|
4384
4388
|
case 192:
|
4385
|
-
#line 1022 "itex2MML.y" /* yacc.c:
|
4389
|
+
#line 1022 "itex2MML.y" /* yacc.c:1652 */
|
4386
4390
|
{
|
4387
|
-
|
4388
|
-
itex2MML_free_string(
|
4389
|
-
itex2MML_free_string(
|
4391
|
+
yyval = itex2MML_copy2(yyvsp[-1], yyvsp[0]);
|
4392
|
+
itex2MML_free_string(yyvsp[-1]);
|
4393
|
+
itex2MML_free_string(yyvsp[0]);
|
4390
4394
|
}
|
4391
|
-
#line
|
4395
|
+
#line 4396 "y.tab.c" /* yacc.c:1652 */
|
4392
4396
|
break;
|
4393
4397
|
|
4394
4398
|
case 193:
|
4395
|
-
#line 1028 "itex2MML.y" /* yacc.c:
|
4399
|
+
#line 1028 "itex2MML.y" /* yacc.c:1652 */
|
4396
4400
|
{
|
4397
|
-
|
4398
|
-
itex2MML_free_string(
|
4401
|
+
yyval = itex2MML_copy3("&", yyvsp[0], "opf;");
|
4402
|
+
itex2MML_free_string(yyvsp[0]);
|
4399
4403
|
}
|
4400
|
-
#line
|
4404
|
+
#line 4405 "y.tab.c" /* yacc.c:1652 */
|
4401
4405
|
break;
|
4402
4406
|
|
4403
4407
|
case 194:
|
4404
|
-
#line 1032 "itex2MML.y" /* yacc.c:
|
4408
|
+
#line 1032 "itex2MML.y" /* yacc.c:1652 */
|
4405
4409
|
{
|
4406
|
-
|
4407
|
-
itex2MML_free_string(
|
4410
|
+
yyval = itex2MML_copy3("&", yyvsp[0], "opf;");
|
4411
|
+
itex2MML_free_string(yyvsp[0]);
|
4408
4412
|
}
|
4409
|
-
#line
|
4413
|
+
#line 4414 "y.tab.c" /* yacc.c:1652 */
|
4410
4414
|
break;
|
4411
4415
|
|
4412
4416
|
case 195:
|
4413
|
-
#line 1036 "itex2MML.y" /* yacc.c:
|
4417
|
+
#line 1036 "itex2MML.y" /* yacc.c:1652 */
|
4414
4418
|
{
|
4415
4419
|
/* Blackboard digits 0-9 correspond to Unicode characters 0x1D7D8-0x1D7E1 */
|
4416
|
-
char * end =
|
4417
|
-
int code = 0x1D7D8 + strtoul(
|
4418
|
-
|
4419
|
-
itex2MML_free_string(
|
4420
|
+
char * end = yyvsp[0] + 1;
|
4421
|
+
int code = 0x1D7D8 + strtoul(yyvsp[0], &end, 10);
|
4422
|
+
yyval = itex2MML_character_reference(code);
|
4423
|
+
itex2MML_free_string(yyvsp[0]);
|
4420
4424
|
}
|
4421
|
-
#line
|
4425
|
+
#line 4426 "y.tab.c" /* yacc.c:1652 */
|
4422
4426
|
break;
|
4423
4427
|
|
4424
4428
|
case 196:
|
4425
|
-
#line 1044 "itex2MML.y" /* yacc.c:
|
4429
|
+
#line 1044 "itex2MML.y" /* yacc.c:1652 */
|
4426
4430
|
{
|
4427
|
-
|
4428
|
-
itex2MML_free_string(
|
4431
|
+
yyval = itex2MML_copy3("<mi>", yyvsp[-1], "</mi>");
|
4432
|
+
itex2MML_free_string(yyvsp[-1]);
|
4429
4433
|
}
|
4430
|
-
#line
|
4434
|
+
#line 4435 "y.tab.c" /* yacc.c:1652 */
|
4431
4435
|
break;
|
4432
4436
|
|
4433
4437
|
case 197:
|
4434
|
-
#line 1049 "itex2MML.y" /* yacc.c:
|
4438
|
+
#line 1049 "itex2MML.y" /* yacc.c:1652 */
|
4435
4439
|
{
|
4436
|
-
|
4437
|
-
itex2MML_free_string(
|
4440
|
+
yyval = itex2MML_copy_string(yyvsp[0]);
|
4441
|
+
itex2MML_free_string(yyvsp[0]);
|
4438
4442
|
}
|
4439
|
-
#line
|
4443
|
+
#line 4444 "y.tab.c" /* yacc.c:1652 */
|
4440
4444
|
break;
|
4441
4445
|
|
4442
4446
|
case 198:
|
4443
|
-
#line 1053 "itex2MML.y" /* yacc.c:
|
4447
|
+
#line 1053 "itex2MML.y" /* yacc.c:1652 */
|
4444
4448
|
{
|
4445
|
-
|
4446
|
-
itex2MML_free_string(
|
4447
|
-
itex2MML_free_string(
|
4449
|
+
yyval = itex2MML_copy2(yyvsp[-1], yyvsp[0]);
|
4450
|
+
itex2MML_free_string(yyvsp[-1]);
|
4451
|
+
itex2MML_free_string(yyvsp[0]);
|
4448
4452
|
}
|
4449
|
-
#line
|
4453
|
+
#line 4454 "y.tab.c" /* yacc.c:1652 */
|
4450
4454
|
break;
|
4451
4455
|
|
4452
4456
|
case 199:
|
4453
|
-
#line 1059 "itex2MML.y" /* yacc.c:
|
4457
|
+
#line 1059 "itex2MML.y" /* yacc.c:1652 */
|
4454
4458
|
{
|
4455
|
-
|
4456
|
-
itex2MML_free_string(
|
4459
|
+
yyval = itex2MML_copy3("&", yyvsp[0], "fr;");
|
4460
|
+
itex2MML_free_string(yyvsp[0]);
|
4457
4461
|
}
|
4458
|
-
#line
|
4462
|
+
#line 4463 "y.tab.c" /* yacc.c:1652 */
|
4459
4463
|
break;
|
4460
4464
|
|
4461
4465
|
case 200:
|
4462
|
-
#line 1064 "itex2MML.y" /* yacc.c:
|
4466
|
+
#line 1064 "itex2MML.y" /* yacc.c:1652 */
|
4463
4467
|
{
|
4464
|
-
|
4465
|
-
itex2MML_free_string(
|
4468
|
+
yyval = itex2MML_copy3("<mi>", yyvsp[-1], "</mi>");
|
4469
|
+
itex2MML_free_string(yyvsp[-1]);
|
4466
4470
|
}
|
4467
|
-
#line
|
4471
|
+
#line 4472 "y.tab.c" /* yacc.c:1652 */
|
4468
4472
|
break;
|
4469
4473
|
|
4470
4474
|
case 201:
|
4471
|
-
#line 1069 "itex2MML.y" /* yacc.c:
|
4475
|
+
#line 1069 "itex2MML.y" /* yacc.c:1652 */
|
4472
4476
|
{
|
4473
|
-
|
4474
|
-
itex2MML_free_string(
|
4477
|
+
yyval = itex2MML_copy3("<mi class='mathscript'>", yyvsp[-1], "</mi>");
|
4478
|
+
itex2MML_free_string(yyvsp[-1]);
|
4475
4479
|
}
|
4476
|
-
#line
|
4480
|
+
#line 4481 "y.tab.c" /* yacc.c:1652 */
|
4477
4481
|
break;
|
4478
4482
|
|
4479
4483
|
case 202:
|
4480
|
-
#line 1074 "itex2MML.y" /* yacc.c:
|
4484
|
+
#line 1074 "itex2MML.y" /* yacc.c:1652 */
|
4481
4485
|
{
|
4482
|
-
|
4483
|
-
itex2MML_free_string(
|
4486
|
+
yyval = itex2MML_copy_string(yyvsp[0]);
|
4487
|
+
itex2MML_free_string(yyvsp[0]);
|
4484
4488
|
}
|
4485
|
-
#line
|
4489
|
+
#line 4490 "y.tab.c" /* yacc.c:1652 */
|
4486
4490
|
break;
|
4487
4491
|
|
4488
4492
|
case 203:
|
4489
|
-
#line 1078 "itex2MML.y" /* yacc.c:
|
4493
|
+
#line 1078 "itex2MML.y" /* yacc.c:1652 */
|
4490
4494
|
{
|
4491
|
-
|
4492
|
-
itex2MML_free_string(
|
4493
|
-
itex2MML_free_string(
|
4495
|
+
yyval = itex2MML_copy2(yyvsp[-1], yyvsp[0]);
|
4496
|
+
itex2MML_free_string(yyvsp[-1]);
|
4497
|
+
itex2MML_free_string(yyvsp[0]);
|
4494
4498
|
}
|
4495
|
-
#line
|
4499
|
+
#line 4500 "y.tab.c" /* yacc.c:1652 */
|
4496
4500
|
break;
|
4497
4501
|
|
4498
4502
|
case 204:
|
4499
|
-
#line 1084 "itex2MML.y" /* yacc.c:
|
4503
|
+
#line 1084 "itex2MML.y" /* yacc.c:1652 */
|
4500
4504
|
{
|
4501
|
-
|
4502
|
-
itex2MML_free_string(
|
4505
|
+
yyval = itex2MML_copy3("&", yyvsp[0], "scr;");
|
4506
|
+
itex2MML_free_string(yyvsp[0]);
|
4503
4507
|
}
|
4504
|
-
#line
|
4508
|
+
#line 4509 "y.tab.c" /* yacc.c:1652 */
|
4505
4509
|
break;
|
4506
4510
|
|
4507
4511
|
case 205:
|
4508
|
-
#line 1089 "itex2MML.y" /* yacc.c:
|
4512
|
+
#line 1089 "itex2MML.y" /* yacc.c:1652 */
|
4509
4513
|
{
|
4510
|
-
|
4514
|
+
yyval = itex2MML_copy_string("<mspace width=\"0.16667em\"/>");
|
4511
4515
|
}
|
4512
|
-
#line
|
4516
|
+
#line 4517 "y.tab.c" /* yacc.c:1652 */
|
4513
4517
|
break;
|
4514
4518
|
|
4515
4519
|
case 206:
|
4516
|
-
#line 1093 "itex2MML.y" /* yacc.c:
|
4520
|
+
#line 1093 "itex2MML.y" /* yacc.c:1652 */
|
4517
4521
|
{
|
4518
|
-
|
4522
|
+
yyval = itex2MML_copy_string("<mspace width=\"0.22222em\"/>");
|
4519
4523
|
}
|
4520
|
-
#line
|
4524
|
+
#line 4525 "y.tab.c" /* yacc.c:1652 */
|
4521
4525
|
break;
|
4522
4526
|
|
4523
4527
|
case 207:
|
4524
|
-
#line 1097 "itex2MML.y" /* yacc.c:
|
4528
|
+
#line 1097 "itex2MML.y" /* yacc.c:1652 */
|
4525
4529
|
{
|
4526
|
-
|
4530
|
+
yyval = itex2MML_copy_string("<mspace width=\"0.27778em\"/>");
|
4527
4531
|
}
|
4528
|
-
#line
|
4532
|
+
#line 4533 "y.tab.c" /* yacc.c:1652 */
|
4529
4533
|
break;
|
4530
4534
|
|
4531
4535
|
case 208:
|
4532
|
-
#line 1101 "itex2MML.y" /* yacc.c:
|
4536
|
+
#line 1101 "itex2MML.y" /* yacc.c:1652 */
|
4533
4537
|
{
|
4534
|
-
|
4538
|
+
yyval = itex2MML_copy_string("<mspace width=\"1em\"/>");
|
4535
4539
|
}
|
4536
|
-
#line
|
4540
|
+
#line 4541 "y.tab.c" /* yacc.c:1652 */
|
4537
4541
|
break;
|
4538
4542
|
|
4539
4543
|
case 209:
|
4540
|
-
#line 1105 "itex2MML.y" /* yacc.c:
|
4544
|
+
#line 1105 "itex2MML.y" /* yacc.c:1652 */
|
4541
4545
|
{
|
4542
|
-
|
4546
|
+
yyval = itex2MML_copy_string("<mspace width=\"2em\"/>");
|
4543
4547
|
}
|
4544
|
-
#line
|
4548
|
+
#line 4549 "y.tab.c" /* yacc.c:1652 */
|
4545
4549
|
break;
|
4546
4550
|
|
4547
4551
|
case 210:
|
4548
|
-
#line 1109 "itex2MML.y" /* yacc.c:
|
4552
|
+
#line 1109 "itex2MML.y" /* yacc.c:1652 */
|
4549
4553
|
{
|
4550
|
-
|
4554
|
+
yyval = itex2MML_copy_string("<mspace width=\"-0.16667em\"/>");
|
4551
4555
|
}
|
4552
|
-
#line
|
4556
|
+
#line 4557 "y.tab.c" /* yacc.c:1652 */
|
4553
4557
|
break;
|
4554
4558
|
|
4555
4559
|
case 211:
|
4556
|
-
#line 1113 "itex2MML.y" /* yacc.c:
|
4560
|
+
#line 1113 "itex2MML.y" /* yacc.c:1652 */
|
4557
4561
|
{
|
4558
|
-
|
4562
|
+
yyval = itex2MML_copy_string("<mspace width=\"-0.22222em\"/>");
|
4559
4563
|
}
|
4560
|
-
#line
|
4564
|
+
#line 4565 "y.tab.c" /* yacc.c:1652 */
|
4561
4565
|
break;
|
4562
4566
|
|
4563
4567
|
case 212:
|
4564
|
-
#line 1117 "itex2MML.y" /* yacc.c:
|
4568
|
+
#line 1117 "itex2MML.y" /* yacc.c:1652 */
|
4565
4569
|
{
|
4566
|
-
|
4570
|
+
yyval = itex2MML_copy_string("<mspace width=\"-0.27778em\"/>");
|
4567
4571
|
}
|
4568
|
-
#line
|
4572
|
+
#line 4573 "y.tab.c" /* yacc.c:1652 */
|
4569
4573
|
break;
|
4570
4574
|
|
4571
4575
|
case 213:
|
4572
|
-
#line 1121 "itex2MML.y" /* yacc.c:
|
4576
|
+
#line 1121 "itex2MML.y" /* yacc.c:1652 */
|
4573
4577
|
{
|
4574
|
-
|
4575
|
-
itex2MML_free_string(
|
4578
|
+
yyval = itex2MML_copy3("<mphantom>", yyvsp[0], "</mphantom>");
|
4579
|
+
itex2MML_free_string(yyvsp[0]);
|
4576
4580
|
}
|
4577
|
-
#line
|
4581
|
+
#line 4582 "y.tab.c" /* yacc.c:1652 */
|
4578
4582
|
break;
|
4579
4583
|
|
4580
4584
|
case 214:
|
4581
|
-
#line 1126 "itex2MML.y" /* yacc.c:
|
4585
|
+
#line 1126 "itex2MML.y" /* yacc.c:1652 */
|
4582
4586
|
{
|
4583
|
-
char * s1 = itex2MML_copy3("<mrow href=\"",
|
4584
|
-
char * s2 = itex2MML_copy3(s1,
|
4585
|
-
|
4587
|
+
char * s1 = itex2MML_copy3("<mrow href=\"", yyvsp[-1], "\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"");
|
4588
|
+
char * s2 = itex2MML_copy3(s1, yyvsp[-1], "\">");
|
4589
|
+
yyval = itex2MML_copy3(s2, yyvsp[0], "</mrow>");
|
4586
4590
|
itex2MML_free_string(s1);
|
4587
4591
|
itex2MML_free_string(s2);
|
4588
|
-
itex2MML_free_string(
|
4589
|
-
itex2MML_free_string(
|
4592
|
+
itex2MML_free_string(yyvsp[-1]);
|
4593
|
+
itex2MML_free_string(yyvsp[0]);
|
4590
4594
|
}
|
4591
|
-
#line
|
4595
|
+
#line 4596 "y.tab.c" /* yacc.c:1652 */
|
4592
4596
|
break;
|
4593
4597
|
|
4594
4598
|
case 215:
|
4595
|
-
#line 1136 "itex2MML.y" /* yacc.c:
|
4599
|
+
#line 1136 "itex2MML.y" /* yacc.c:1652 */
|
4596
4600
|
{
|
4597
|
-
char * s1 = itex2MML_copy3("<mmultiscripts>",
|
4598
|
-
|
4601
|
+
char * s1 = itex2MML_copy3("<mmultiscripts>", yyvsp[-3], yyvsp[-1]);
|
4602
|
+
|