~ubuntu-branches/ubuntu/maverick/aspectc++/maverick

« back to all changes in this revision

Viewing changes to Puma/src/scanner/CCoreTab.ora

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
Sign  = '+' '-'
29
29
Alpha = 'a'-'z' 'A'-'Z' '_'
30
30
 
 
31
InString = '\x01'-'\x21' '\x23'-'\x5b' '\x5d'-'\xfe' --- All but '"' and '\'
 
32
InChar   = '\x01'-'\x26' '\x28'-'\x5b' '\x5d'-'\xfe' --- All but ''' and '\'
 
33
Any      = '\x01'-'\xfe'
 
34
 
31
35
--- '0xff' seems to produce a endless loop!
32
36
 
33
37
table CCoreTab :
47
51
(Dec+ ['.' Dec*] [Exp [Sign] Dec+])[L|F] => TOK_FLT_VAL
48
52
('.' Dec+ [Exp [Sign] Dec+])[L|F] => TOK_FLT_VAL
49
53
 
 
54
--- a string or character constant:
 
55
 
 
56
["L"] '\"' ( InString | ('\\' Any) ) * '\"' => TOK_STRING_VAL
 
57
["L"] '\'' ( InChar   | ('\\' Any) ) * '\'' => TOK_CHAR_VAL
 
58
 
50
59
--- operators:
51
60
 
52
61
"," => TOK_COMMA