Changeset 01610779fcf24388e97f8de5cc385b8ffdbcd1d1

Show
Ignore:
Timestamp:
06/12/2008 10:33:41 AM (2 months ago)
Author:
mitchell <mitchell@frost.(none)>
git-committer:
mitchell <mitchell@frost.(none)> 1213292021 -0400
git-parent:

[0b4bd626d4a70b6e4267b294a51b4401d273ec41]

git-author:
mitchell <mitchell@frost.(none)> 1213292021 -0400
Message:

Fixed issue in c.rl's entity parsing machine.

Files:

Legend:

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

    r0b4bd62 r0161077  
    146146    c_keyword_entity    ${ entity = C_KEYWORD;    } => c_ecallback; 
    147147    c_operator_entity   ${ entity = C_OPERATOR;   } => c_ecallback; 
    148     ^space              ${ entity = C_ANY;        } => c_ecallback; 
     148    ^(space | digit)    ${ entity = C_ANY;        } => c_ecallback; 
    149149  *|; 
    150150}%%