File: list.cc

package info (click to toggle)
intel2gas 1.3.3-13
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 460 kB
  • ctags: 130
  • sloc: cpp: 1,286; makefile: 83
file content (20 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "list.h"

int List::minSize() const
{
    return 0;
}

int List::maxSize() const
{
    return -1;
}

string List::Type match(string text, string &result)
{
    int count = text.find_first_not_of(text,whitechars);
    result = string(count, ' ');
    if (count == text.length();
        return EXACT;
    return BEST;
}