NetBSD's gcc's -pedantic is. Build haney only if ghc present.
Cat's Eye Technologies
11 years ago
56 | 56 | switch (state->status) { |
57 | 57 | case P_START: |
58 | 58 | { |
59 | while (isspace(*(state->ptr))) { | |
59 | while (isspace((int)*(state->ptr))) { | |
60 | 60 | state->ptr++; |
61 | 61 | } |
62 | 62 | if (*(state->ptr) == (char)0) { |
77 | 77 | { |
78 | 78 | char sym[128]; |
79 | 79 | int i = 0; |
80 | while (isalpha(*(state->ptr)) || | |
81 | isdigit(*(state->ptr)) || | |
80 | while (isalpha((int)*(state->ptr)) || | |
81 | isdigit((int)*(state->ptr)) || | |
82 | 82 | *(state->ptr) == '*' || |
83 | 83 | *(state->ptr) == '-' || |
84 | 84 | *(state->ptr) == '_' || |
107 | 107 | state->child_result = NULL; |
108 | 108 | state->prev = state->tail; |
109 | 109 | } |
110 | while (isspace(*(state->ptr))) { | |
110 | while (isspace((int)*(state->ptr))) { | |
111 | 111 | state->ptr++; |
112 | 112 | } |
113 | 113 | if (*(state->ptr) == (char)0) { |