~ubuntu-branches/ubuntu/utopic/geany/utopic

« back to all changes in this revision

Viewing changes to tagmanager/lregex.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-04-19 21:00:25 UTC
  • Revision ID: package-import@ubuntu.com-20130419210025-tsuvhqufntxj5rsy
Tags: 1.22+dfsg-2ubuntu1
* debian/patches/git_build_with_latest_glib.patch:
  - Backport patch from 1.23 to fix build failure with glib 2.36

Show diffs side-by-side

added added

removed removed

Lines of Context:
538
538
#endif  /* HAVE_REGEX */
539
539
 
540
540
extern void addTagRegex (
541
 
                const langType language __unused__,
542
 
                const char* const regex __unused__,
543
 
                const char* const name __unused__,
544
 
                const char* const kinds __unused__,
545
 
                const char* const flags __unused__)
 
541
                const langType language UNUSED,
 
542
                const char* const regex UNUSED,
 
543
                const char* const name UNUSED,
 
544
                const char* const kinds UNUSED,
 
545
                const char* const flags UNUSED)
546
546
{
547
547
#ifdef HAVE_REGEX
548
548
        Assert (regex != NULL);
564
564
}
565
565
 
566
566
extern void addCallbackRegex (
567
 
                const langType language __unused__,
568
 
                const char* const regex __unused__,
569
 
                const char* const flags __unused__,
570
 
                const regexCallback callback __unused__)
 
567
                const langType language UNUSED,
 
568
                const char* const regex UNUSED,
 
569
                const char* const flags UNUSED,
 
570
                const regexCallback callback UNUSED)
571
571
{
572
572
#ifdef HAVE_REGEX
573
573
        Assert (regex != NULL);
581
581
}
582
582
 
583
583
extern void addLanguageRegex (
584
 
                const langType language __unused__, const char* const regex __unused__)
 
584
                const langType language UNUSED, const char* const regex UNUSED)
585
585
{
586
586
#ifdef HAVE_REGEX
587
587
        if (! regexBroken)
602
602
*/
603
603
 
604
604
extern boolean processRegexOption (const char *const option,
605
 
                                                                   const char *const parameter __unused__)
 
605
                                                                   const char *const parameter UNUSED)
606
606
{
607
607
        boolean handled = FALSE;
608
608
        const char* const dash = strchr (option, '-');
624
624
        return handled;
625
625
}
626
626
 
627
 
extern void disableRegexKinds (const langType language __unused__)
 
627
extern void disableRegexKinds (const langType language UNUSED)
628
628
{
629
629
#ifdef HAVE_REGEX
630
630
        if (language <= SetUpper  &&  Sets [language].count > 0)
639
639
}
640
640
 
641
641
extern boolean enableRegexKind (
642
 
                const langType language __unused__,
643
 
                const int kind __unused__, const boolean mode __unused__)
 
642
                const langType language UNUSED,
 
643
                const int kind UNUSED, const boolean mode UNUSED)
644
644
{
645
645
        boolean result = FALSE;
646
646
#ifdef HAVE_REGEX
660
660
        return result;
661
661
}
662
662
 
663
 
extern void printRegexKinds (const langType language __unused__, boolean indent __unused__)
 
663
extern void printRegexKinds (const langType language UNUSED, boolean indent UNUSED)
664
664
{
665
665
#ifdef HAVE_REGEX
666
666
        if (language <= SetUpper  &&  Sets [language].count > 0)