Goose  Diff

Differences From Artifact [5a587e282d]:

  • File bs/eir/vecgenerator.cpp — part of check-in [373a6ebd57] at 2022-09-02 21:42:42 on branch trunk —
    • Implemented a test for variadic functions
    • Fixed a million issues and missing things preventing the above from working
    • Implemented equality operators for types
    (user: zlodo size: 841)

To Artifact [8676c672d0]:

  • File bs/eir/vecgenerator.cpp — part of check-in [08ffdaf6db] at 2022-11-11 20:01:13 on branch trunk —
    • Implemented template tuples and vararg tuples
    • Fixed a few issues with the verifier
    (user: zlodo size: 837)

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
    {
        return m_index >= m_cont.terms().size();
    }

    size_t VecGenerator::repetitionIndex() const
    {
        return ( fixedPartFinished() && m_cont.repetitionTerm() ) ?
            m_index - m_cont.terms().size() + 1 : 0;
    }

    const Term& VecGenerator::operator()()
    {
        if( m_cont.repetitionTerm() && m_index >= m_cont.terms().size() )
        {
            ++m_index;







|







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
    {
        return m_index >= m_cont.terms().size();
    }

    size_t VecGenerator::repetitionIndex() const
    {
        return ( fixedPartFinished() && m_cont.repetitionTerm() ) ?
            m_index - m_cont.terms().size() : 0;
    }

    const Term& VecGenerator::operator()()
    {
        if( m_cont.repetitionTerm() && m_index >= m_cont.terms().size() )
        {
            ++m_index;