~ubuntu-branches/ubuntu/natty/mawk/natty

« back to all changes in this revision

Viewing changes to rexp/rexp0.c

  • Committer: Bazaar Package Importer
  • Author(s): James Troup
  • Date: 2001-07-18 20:40:37 UTC
  • Revision ID: james.westby@ubuntu.com-20010718204037-ktb1x8r3ukz5hp3h
Tags: 1.3.3-8
debian/rules (build): compile with -O1 on hppa to work around probable
compiler bug.  Thanks to LaMont Jones <lamont@ia.mmjgroup.com>.

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
{
114
114
   register int c ;
115
115
 
116
 
reswitch:
117
116
   switch (c = char2token(*lp))
118
117
   {
119
118
      case T_PLUS:
165
164
         {
166
165
            case T_ANY:
167
166
               {
168
 
                  static plus_is_star_flag = 0 ;
 
167
                  static int plus_is_star_flag = 0 ;
169
168
 
170
169
                  if (*++lp == '*')
171
170
                  {
560
559
}
561
560
escape_test[ET_END + 1] =
562
561
{
563
 
   'n', '\n',
564
 
   't', '\t',
565
 
   'f', '\f',
566
 
   'b', '\b',
567
 
   'r', '\r',
568
 
   'a', '\07',
569
 
   'v', '\013',
570
 
   0, 0
 
562
   {'n', '\n'},
 
563
   {'t', '\t'},
 
564
   {'f', '\f'},
 
565
   {'b', '\b'},
 
566
   {'r', '\r'},
 
567
   {'a', '\07'},
 
568
   {'v', '\013'},
 
569
   {0, 0}
571
570
} ;
572
571
 
573
572