Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion thecl/eclmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ is_keyword(
"times", "switch", "case", "default",
"break", "async", "global", "sin",
"cos", "sqrt", "rad", "false", "true",
"continue", "string", "loop",
NULL
};
const char **kwp = keywords;
Expand Down Expand Up @@ -168,7 +169,7 @@ validate_type(
int linenum,
const char *ptr)
{
if (ptr[0] != '$' && ptr[0] != '%' || ptr[0] && ptr[1]) {
if (ptr[0] != '$' && ptr[0] != '%' && ptr[0] != '?' || ptr[0] && ptr[1]) {
fprintf(stderr, "%s:%s:%u: unknown type '%s'\n", argv0, state->fn, linenum, ptr);
return 1;
}
Expand Down
Loading