/itexToMML

To download this project, use:
bzr branch http://golem.ph.utexas.edu/~distler/code/itexToMML/

« back to all changes in this revision

Viewing changes to itex-src/itex2MML.y

  • Committer: Jacques Distler
  • Date: 2010-04-05 05:37:24 UTC
  • Revision ID: distler@golem.ph.utexas.edu-20100405053724-0atirgvu6cbj7ouv
Tags: 1.3.21
Fix a bug in itex2MML_html_filter

There was a problem when an equation occurred
at the start of the input string.

Also, some desirable updates to the Rubygem version.

Show diffs side-by-side

added added

removed removed

1
 
/*             itex2MML 1.3.18
2
 
 *   itex2MML.y last modified 11/18/2009
 
1
/*             itex2MML 1.3.21
 
2
 *   itex2MML.y last modified 4/4/2010
3
3
 */
4
4
 
5
5
%{
1697
1697
        }
1698
1698
      ++ptr2;
1699
1699
    }
1700
 
  if (itex2MML_write)
 
1700
  if (itex2MML_write && ptr2 > ptr1)
1701
1701
    (*itex2MML_write) (ptr1, ptr2 - ptr1);
1702
1702
 
1703
1703
  if (ptr2 == end) goto _finish;