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

« back to all changes in this revision

Viewing changes to scan.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:
420
420
            {
421
421
               if (*p == current_token)
422
422
               {
423
 
                  if (*p != INC_or_DEC)  test1_ret('=', DIV_ASG, DIV) ;
 
423
                  if (*p != INC_or_DEC) { test1_ret('=', DIV_ASG, DIV) ; }
424
424
 
425
425
                  if (next() == '=')
426
426
                  {
852
852
#define  hex_value(x)   hex_val[(x)-'A']
853
853
 
854
854
#define ishex(x) (scan_code[x] == SC_DIGIT ||\
855
 
                  'A' <= (x) && (x) <= 'f' && hex_value(x))
 
855
                  ('A' <= (x) && (x) <= 'f' && hex_value(x)))
856
856
 
857
857
static int PROTO(octal, (char **)) ;
858
858
static int PROTO(hex, (char **)) ;
909
909
}
910
910
escape_test[ET_END + 1] =
911
911
{
912
 
   'n', '\n',
913
 
   't', '\t',
914
 
   'f', '\f',
915
 
   'b', '\b',
916
 
   'r', '\r',
917
 
   'a', '\07',
918
 
   'v', '\013',
919
 
   '\\', '\\',
920
 
   '\"', '\"',
921
 
   0, 0
 
912
  {'n', '\n'},
 
913
  {'t', '\t'},
 
914
  {'f', '\f'},
 
915
  {'b', '\b'},
 
916
  {'r', '\r'},
 
917
  {'a', '\07'},
 
918
  {'v', '\013'},
 
919
  {'\\', '\\'},
 
920
  {'\"', '\"'},
 
921
  {0, 0}
922
922
} ;
923
923
 
924
924