Source Code (Use browser search to find items of interest.)
Class Index
kdevelop'HlCInt (./kdevelop/kdevelop/kwrite/highlight.h:124)
class HlCInt : public HlInt {
public:
HlCInt(int attribute, int context);
virtual const QChar *checkHgl(const QChar *);
};
kdevelop'HlCInt::HlCInt() (./kdevelop/kdevelop/kwrite/highlight.cpp:335)
HlCInt::HlCInt(int attribute, int context)
: HlInt(attribute,context) {
}
kdevelop'HlCInt::checkHgl() (./kdevelop/kdevelop/kwrite/highlight.cpp:339)
const QChar *HlCInt::checkHgl(const QChar *s) {
// if (*s == '0') s++; else s = HlInt::checkHgl(s);
s = HlInt::checkHgl(s);
if (s != 0L) {
int l = 0;
int u = 0;
const QChar *str;
do {
str = s;
if (*s == 'L' || *s == 'l') {
l++;
if (l > 2) return 0L;
s++;
}
if (*s == 'U' || *s == 'u') {
u++;
if (u > 1) return 0L;
s++;
}
} while (s != str);
}
return s;
}