• Tom Lane's avatar
    Tweak the core scanner so that it can be used by plpgsql too. · 1aa58d3a
    Tom Lane authored
    Changes:
    
    Pass in the keyword lookup array instead of having it be hardwired.
    (This incidentally allows elimination of some duplicate coding in ecpg.)
    
    Re-order the token declarations in gram.y so that non-keyword tokens have
    numbers that won't change when keywords are added or removed.
    
    Add ".." and ":=" to the set of tokens recognized by scan.l.  (Since these
    combinations are nowhere legal in core SQL, this does not change anything
    except the precise wording of the error you get when you write this.)
    1aa58d3a
gram.y 280 KB