Changeset 84da33b23b9f2e2ce21b804c4eb6e32364157bb2

Show
Ignore:
Timestamp:
07/09/2008 02:06:03 PM (6 months ago)
Author:
Robin Luckey <robin@ohloh.net>
git-committer:
Robin Luckey <robin@ohloh.net> 1215637563 -0700
git-parent:

[e78d3851bb9cf0966e8e4bb0071ca7969a1ffcec], [d1f59e294f20ad084df59be08f7b788f0e846193]

git-author:
Robin Luckey <robin@ohloh.net> 1215637563 -0700
Message:

Merge git://github.com/mitchell/ohcount

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ext/ohcount_native/ragel_parsers/xml.rl

    r0b4bd62 r17b2a72  
    5959    )* :>> '-->'; 
    6060 
    61   xml_sq_str = 
    62     '\'' @code ( 
    63       newline %{ entity = INTERNAL_NL; } %xml_ccallback 
    64       | 
    65       ws 
    66       | 
    67       [^\r\n\f\t '\\] @code 
    68       | 
    69       '\\' nonnewline @code 
    70     )* '\''; 
    71   xml_dq_str = 
    72     '"' @code ( 
    73       newline %{ entity = INTERNAL_NL; } %xml_ccallback 
    74       | 
    75       ws 
    76       | 
    77       [^\r\n\f\t "\\] @code 
    78       | 
    79       '\\' nonnewline @code 
    80     )* '"'; 
     61  xml_sq_str = '\'' ([^\r\n\f'\\] | '\\' nonnewline)* '\'' @code; 
     62  xml_dq_str = '"' ([^\r\n\f"\\] | '\\' nonnewline)* '"' @code; 
    8163  xml_cdata_str = 
    8264    '<![CDATA[' @code ( 
  • ext/ohcount_native/ragel_parsers/xmlschema.rl

    r0b4bd62 r17b2a72  
    5959    )* :>> '-->'; 
    6060 
    61   xmlschema_sq_str = 
    62     '\'' @code ( 
    63       newline %{ entity = INTERNAL_NL; } %xmlschema_ccallback 
    64       | 
    65       ws 
    66       | 
    67       [^\r\n\f\t '\\] @code 
    68       | 
    69       '\\' nonnewline @code 
    70     )* '\''; 
    71   xmlschema_dq_str = 
    72     '"' @code ( 
    73       newline %{ entity = INTERNAL_NL; } %xmlschema_ccallback 
    74       | 
    75       ws 
    76       | 
    77       [^\r\n\f\t "\\] @code 
    78       | 
    79       '\\' nonnewline @code 
    80     )* '"'; 
     61  xmlschema_sq_str = '\'' ([^\r\n\f'\\] | '\\' nonnewline)* '\'' @code; 
     62  xmlschema_dq_str = '"' ([^\r\n\f"\\] | '\\' nonnewline)* '"' @code; 
    8163  xmlschema_cdata_str = 
    8264    '<![CDATA[' @code ( 
  • ext/ohcount_native/ragel_parsers/xslt.rl

    r0b4bd62 r17b2a72  
    5959    )* :>> '-->'; 
    6060 
    61   xslt_sq_str = 
    62     '\'' @code ( 
    63       newline %{ entity = INTERNAL_NL; } %xslt_ccallback 
    64       | 
    65       ws 
    66       | 
    67       [^\r\n\f\t '\\] @code 
    68       | 
    69       '\\' nonnewline @code 
    70     )* '\''; 
    71   xslt_dq_str = 
    72     '"' @code ( 
    73       newline %{ entity = INTERNAL_NL; } %xslt_ccallback 
    74       | 
    75       ws 
    76       | 
    77       [^\r\n\f\t "\\] @code 
    78       | 
    79       '\\' nonnewline @code 
    80     )* '"'; 
     61  xslt_sq_str = '\'' ([^\r\n\f'\\] | '\\' nonnewline)* '\'' @code; 
     62  xslt_dq_str = '"' ([^\r\n\f"\\] | '\\' nonnewline)* '"' @code; 
    8163  xslt_cdata_str = 
    8264    '<![CDATA[' @code (