File: absolute.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-- 312 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 "absolute.h"

int Absolute::minSize() const
{
    return correct.length();
}

int Absolute::maxSize() const
{
    return correct.length();
}

string Absolute::Type match(string text, string &result)
{
    if (text == correct) {
        result = correct;
        return EXACT;
    }
    return NOTHING;
}