/ Check-in [b40b202c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Since the TK_VECTOR token is not actually used by the parser, make it an extra token code added by the tool/addopcodes.tcl script during parser build.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | rowvalue
Files: files | file ages | folders
SHA1: b40b202c1f82808d2240e87b22f1e78b2208cb26
User & Date: drh 2016-08-18 15:36:03
Context
2016-08-18
17:55
Display VECTOR expressions in .wheretrace and .selecttrace debugging output. check-in: 157347e2 user: drh tags: rowvalue
15:36
Since the TK_VECTOR token is not actually used by the parser, make it an extra token code added by the tool/addopcodes.tcl script during parser build. check-in: b40b202c user: drh tags: rowvalue
15:21
Merge recent enhancements from trunk. check-in: 4768a106 user: drh tags: rowvalue
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/parse.y.

   213    213   %right ESCAPE.
   214    214   %left BITAND BITOR LSHIFT RSHIFT.
   215    215   %left PLUS MINUS.
   216    216   %left STAR SLASH REM.
   217    217   %left CONCAT.
   218    218   %left COLLATE.
   219    219   %right BITNOT.
   220         -%right VECTOR.
   221    220   
   222    221   // An IDENTIFIER can be a generic identifier, or one of several
   223    222   // keywords.  Any non-standard keyword can also be an identifier.
   224    223   //
   225    224   %token_class id  ID|INDEXED.
   226    225   
   227    226   // The following directive causes tokens ABORT, AFTER, ASC, etc. to

Changes to tool/addopcodes.tcl.

    33     33     FUNCTION
    34     34     COLUMN
    35     35     AGG_FUNCTION
    36     36     AGG_COLUMN
    37     37     UMINUS
    38     38     UPLUS
    39     39     REGISTER
           40  +  VECTOR
    40     41     SELECT_COLUMN
    41     42     ASTERISK
    42     43     SPAN
    43     44     SPACE
    44     45     ILLEGAL
    45     46   }
    46     47   if {[lrange $extras end-1 end]!="SPACE ILLEGAL"} {