Source Code (Use browser search to find items of interest.)

Class Index

kdevelop'HlCOct (./kdevelop/kdevelop/kwrite/highlight.h:130)

class HlCOct : public HlItemWw {
  public:
    HlCOct(int attribute, int context);
    virtual const QChar *checkHgl(const QChar *);
};


kdevelop'HlCOct::HlCOct() (./kdevelop/kdevelop/kwrite/highlight.cpp:365)

HlCOct::HlCOct(int attribute, int context)
  : HlItemWw(attribute,context) {
}


kdevelop'HlCOct::checkHgl() (./kdevelop/kdevelop/kwrite/highlight.cpp:369)

const QChar *HlCOct::checkHgl(const QChar *str) {
  const QChar *s;

  if (*str == '0') {
    str++;
    s = str;
    while (*s >= '0' && *s <= '7') s++;
    if (s > str) {
      if (*s == 'L' || *s == 'l' || *s == 'U' || *s == 'u') s++;
      return s;
    }
  }
  return 0L;
}