~ubuntu-branches/ubuntu/raring/geany/raring-proposed

« back to all changes in this revision

Viewing changes to tagmanager/latex.c

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2011-12-10 07:43:26 UTC
  • mfrom: (3.3.7 sid)
  • Revision ID: package-import@ubuntu.com-20111210074326-s8yqbew5i20h33tf
Tags: 0.21-1ubuntu1
* Merge from Debian Unstable, remaining changes:
  - debian/patches/20_use_evince_viewer.patch:
     + use evince as viewer for pdf and dvi files
  - debian/patches/20_use_x_terminal_emulator.patch:
     + use x-terminal-emulator as terminal
  - debian/control
     + Add breaks on geany-plugins-common << 0.20
* Also fixes bugs:
  - Filter for MATLAB/Octave files filters everythign (LP: 885505)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 *   $Id: latex.c 4437 2009-11-22 23:51:59Z eht16 $
 
2
 *   $Id: latex.c 5540 2011-02-06 18:25:10Z frlan $
3
3
 *
4
4
 *   Copyright (c) 2000-2001, Jérôme Plût
5
5
 *   Copyright (c) 2006, Enrico Tröger
83
83
        if (*l == '[')
84
84
        {
85
85
            while (*l != ']')
 
86
            {
 
87
                if (*l == '\0')
 
88
                    goto no_tag;
86
89
                l++;
 
90
            }
87
91
            l++; /* skip the closing square bracket */
88
 
        }   
 
92
        }
89
93
        if (*l != '{')
90
94
            goto no_tag;
91
95
        l++;
240
244
        def->parser     = findTeXTags;
241
245
        return def;
242
246
}
243