File: pushback.cc

package info (click to toggle)
oxref 0.90.10-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 400 kB
  • sloc: cpp: 786; makefile: 141
file content (26 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "storage.ih"

void Storage::push_back(string const &line)
{
    if (s_reject << line)
        return;

    if (s_objFile << line)
        objFile(s_objFile[1]);

    else if (s_abs << line)
        sourceFile(s_abs[1]);

    else if (s_UND << line)
        undefined(s_UND[1]);

    else if (s_g_F << line)
        function(s_g_F[1]);

    else if (s_g_O << line)
        object(s_g_O[1]);
}