Check-in Number:
|
1373 | |
Date: |
2001-Nov-20 12:46:34 (local)
2001-Nov-20 11:46:34 (UTC) |
User: | simons |
Branch: | |
Comment: |
Removed comment from Thomas in accordance with Ralf: We don't want to
add further consistency checks, because they're somewhat mood anyway.
If a user does not understand the implications of his choice of
tokens, there's no way we can guarantee the parser will still work. On
the other hand, additional consistency checks might hinder users who
know what they're doing from doing it. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/var/var.c 1.27 -> 1.28
--- var.c 2001/11/20 11:44:12 1.27
+++ var.c 2001/11/20 11:46:34 1.28
@@ -1638,12 +1638,9 @@
if (nameclass[(int)config->varinit] ||
nameclass[(int)config->startdelim] ||
nameclass[(int)config->enddelim] ||
-//FIXME THL: if(config->varinit == ':' ...any must not be colon > ERROR, varname() will fail
nameclass[(int)config->escape])
return VAR_ERR_INVALID_CONFIGURATION;
-//FIXME THL: if(config->varinit == config->startdelimit || ...any with any...
-
/* Call the parser. */
tokenbuf_init(&output);
rc = input(input_buf, input_buf + input_len, config, nameclass,
|
|