| 1 |
|
| 2 |
# This file is part of Complexity. |
| 3 |
# Complexity Copyright (c) 2011-2016 by Bruce Korb - all rights reserved |
| 4 |
# |
| 5 |
# Complexity is free software: you can redistribute it and/or modify it |
| 6 |
# under the terms of the GNU General Public License as published by the |
| 7 |
# Free Software Foundation, either version 3 of the License, or |
| 8 |
# (at your option) any later version. |
| 9 |
# |
| 10 |
# Complexity is distributed in the hope that it will be useful, but |
| 11 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 |
# See the GNU General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU General Public License along |
| 16 |
# with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 |
|
| 18 |
%guard define-cplx-char-type |
| 19 |
%file char-types.h |
| 20 |
%table cplx-char-type |
| 21 |
|
| 22 |
%comment |
| 23 |
This file contains the caracter classifications used by the |
| 24 |
code complexity measurement tool. |
| 25 |
% |
| 26 |
|
| 27 |
alpha "a-zA-Z" |
| 28 |
digit "0-9" |
| 29 |
name-start "_$" +alpha |
| 30 |
name "$" +name-start +digit |
| 31 |
space " \t\b\r\v\f\n" |
| 32 |
end-of-line "\n\r\0" |
| 33 |
star-or-nl "*" +end-of-line |