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

« back to all changes in this revision

Viewing changes to kw.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:
41
41
keywords[] =
42
42
{
43
43
 
44
 
   "print", PRINT,
45
 
   "printf", PRINTF,
46
 
   "do", DO,
47
 
   "while", WHILE,
48
 
   "for", FOR,
49
 
   "break", BREAK,
50
 
   "continue", CONTINUE,
51
 
   "if", IF,
52
 
   "else", ELSE,
53
 
   "in", IN,
54
 
   "delete", DELETE,
55
 
   "split", SPLIT,
56
 
   "match", MATCH_FUNC,
57
 
   "BEGIN", BEGIN,
58
 
   "END", END,
59
 
   "exit", EXIT,
60
 
   "next", NEXT,
61
 
   "return", RETURN,
62
 
   "getline", GETLINE,
63
 
   "sub", SUB,
64
 
   "gsub", GSUB,
65
 
   "function", FUNCTION,
66
 
   (char *) 0, 0
 
44
   {"print", PRINT},
 
45
   {"printf", PRINTF},
 
46
   {"do", DO},
 
47
   {"while", WHILE},
 
48
   {"for", FOR},
 
49
   {"break", BREAK},
 
50
   {"continue", CONTINUE},
 
51
   {"if", IF},
 
52
   {"else", ELSE},
 
53
   {"in", IN},
 
54
   {"delete", DELETE},
 
55
   {"split", SPLIT},
 
56
   {"match", MATCH_FUNC},
 
57
   {"BEGIN", BEGIN},
 
58
   {"END", END},
 
59
   {"exit", EXIT},
 
60
   {"next", NEXT},
 
61
   {"return", RETURN},
 
62
   {"getline", GETLINE},
 
63
   {"sub", SUB},
 
64
   {"gsub", GSUB},
 
65
   {"function", FUNCTION},
 
66
   {(char *) 0, 0}
67
67
} ;
68
68
 
69
69
/* put keywords in the symbol table */