~ubuntu-branches/ubuntu/vivid/tidy/vivid

« back to all changes in this revision

Viewing changes to src/parser.c

  • Committer: Bazaar Package Importer
  • Author(s): Jason Thomas
  • Date: 2008-12-24 13:25:54 UTC
  • mfrom: (0.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20081224132554-khlgxooo36p391lt
Tags: 20081224cvs-1
* New cvs snapshot
* debian/control: add debhelper ${misc:Depends} to all packages
- add versioned depend on libtidy-0.99-0 (>= 20081224cvs-1) for tidy
  (closes: #470764)
- add Homepage field
- update standards-version from 3.7.3.0 to 3.8.0.0
* debian/tidy-doc.doc-base: change section from App/Text to Web Development
* debian/tidy.postinst + tidy.preinst: set the -e flag
* debian/README.source: new, how to build source tarball from upstream
* debian/README.Debian: add urls to more documentation
  (closes: #353912)
* debian/patches/03overview-tab-size.patch: add patch to fix tab-size
  (closes: #353907)
* tidy doc has been built from same source as tidy for a while
  (closes: #364960)
* debian/rules:
  - add -xml-config to generated manpage
  - clean up generated files
  (closes: #471107)
* manpage: -latin0 options has correct info as of 20080116cvs-1
  (closes: #506394 )

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  CVS Info :
7
7
 
8
8
    $Author: arnaud02 $ 
9
 
    $Date: 2007/08/15 17:43:02 $ 
10
 
    $Revision: 1.186 $ 
 
9
    $Date: 2008/03/22 20:02:42 $ 
 
10
    $Revision: 1.187 $ 
11
11
 
12
12
*/
13
13
 
3207
3207
                ++HasTitle;
3208
3208
 
3209
3209
                if (HasTitle > 1)
3210
 
                    if (head)
3211
 
                        TY_(ReportError)(doc, head, node, TOO_MANY_ELEMENTS_IN);
3212
 
                    else
3213
 
                        TY_(ReportError)(doc, head, node, TOO_MANY_ELEMENTS);
 
3210
                    TY_(ReportError)(doc, head, node,
 
3211
                                     head ?
 
3212
                                     TOO_MANY_ELEMENTS_IN : TOO_MANY_ELEMENTS);
3214
3213
            }
3215
3214
            else if ( nodeIsBASE(node) )
3216
3215
            {
3217
3216
                ++HasBase;
3218
3217
 
3219
3218
                if (HasBase > 1)
3220
 
                    if (head)
3221
 
                        TY_(ReportError)(doc, head, node, TOO_MANY_ELEMENTS_IN);
3222
 
                    else
3223
 
                        TY_(ReportError)(doc, head, node, TOO_MANY_ELEMENTS);
 
3219
                    TY_(ReportError)(doc, head, node,
 
3220
                                     head ?
 
3221
                                     TOO_MANY_ELEMENTS_IN : TOO_MANY_ELEMENTS);
3224
3222
            }
3225
3223
            else if ( nodeIsNOSCRIPT(node) )
3226
3224
            {