summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3013406)
raw | patch | inline | side by side (parent: 3013406)
author | pjrm <pjrm@users.sourceforge.net> | |
Thu, 11 Oct 2007 13:55:31 +0000 (13:55 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Thu, 11 Oct 2007 13:55:31 +0000 (13:55 +0000) |
src/dom/xpathparser.h | patch | blob | history |
diff --git a/src/dom/xpathparser.h b/src/dom/xpathparser.h
index 2a604aa61eb8d65bb084d11bf226bb7dcc362f27..28523027b891011e23280515c7c50ca172bf9f8c 100644 (file)
--- a/src/dom/xpathparser.h
+++ b/src/dom/xpathparser.h
typedef struct
{
int ival;
- char *sval;
+ char const *sval;
} LookupEntry;
{
if (type == OPERATOR)
{
- char *tokenStr = "unknown";
- for (LookupEntry *entry = operatorTable; entry->sval ; entry++)
+ char const *tokenStr = "unknown";
+ for (LookupEntry const *entry = operatorTable; entry->sval ; entry++)
{
if (entry->ival == ival)
{
}
else if (type == NODE_TYPE)
{
- char *tokenStr = "unknown";
+ char const *tokenStr = "unknown";
for (LookupEntry *entry = nodeTypeTable; entry->sval ; entry++)
{
if (entry->ival == ival)
}
else if (type == AXIS_NAME)
{
- char *tokenStr = "unknown";
+ char const *tokenStr = "unknown";
for (LookupEntry *entry = axisNameTable; entry->sval ; entry++)
{
if (entry->ival == ival)
printf("#%f\n", dval);
else
{
- char *tokenStr = "unknown";
+ char const *tokenStr = "unknown";
for (LookupEntry *entry = exprTokenTable; entry->sval ; entry++)
{
if (entry->ival == type)