/[A3C]/lib/A3C/PHP.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/A3C/PHP.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 140 by dpavlin, Fri May 30 22:02:19 2008 UTC revision 152 by dpavlin, Tue Jun 3 19:40:12 2008 UTC
# Line 93  number:                /-?[0-9.]+/ Line 93  number:                /-?[0-9.]+/
93    
94  string:         double_quoted | single_quoted  string:         double_quoted | single_quoted
95    
96  double_quoted:  /".*?"/  double_quoted:  /"(\\"|[^"])*?"/
97                  {                  {
98                          $item[1] =~ s/\@/\\\@/g;                          $item[1] =~ s/\@/\\\@/g;
99                          $return = $item[1];                          $return = $item[1];
100                  }                  }
101    
102  single_quoted:  /'.*?'/  single_quoted:  /'(\\'|[^'])*?'/
103    
104  element:        scalar | bareword  element:        scalar | bareword
105    
# Line 163  sub parse_file { Line 163  sub parse_file {
163    
164  =item * Parse::RecDescent  =item * Parse::RecDescent
165    
166    =back
167    
168  =head1 AUTHORS  =head1 AUTHORS
169    
170  =over 4  =over 4

Legend:
Removed from v.140  
changed lines
  Added in v.152

  ViewVC Help
Powered by ViewVC 1.1.26