From: nishi Date: Mon, 10 Jun 2024 23:44:22 +0000 (+0000) Subject: add stuff X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=c99890d27aa82d1c72fffb6554196e6da90c55c5;p=dataworks.git add stuff git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@239 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- diff --git a/Library/exec.c b/Library/exec.c index 67127d5..6fbc395 100644 --- a/Library/exec.c +++ b/Library/exec.c @@ -167,6 +167,8 @@ struct Node* parser_process(struct dataworks_db* db, struct Node* node, bool dol } else { newnode->errnum = DW_ERR_EXEC_INSUFFICIENT_ARGUMENTS; } + } else { + newnode->errnum = DW_ERR_EXEC_UNKNOWN_METHOD; } if(name != NULL) free(name); for(i = 0; fields[i] != NULL; i++) free(fields[i]); diff --git a/PKGBUILD b/PKGBUILD index 475819b..24ed96a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,9 +5,9 @@ pkgver='0.1.0' pkgdesc='Database System' arch=('i686' 'x86_64') license=('BSD') -pkgrel='35' +pkgrel='36' makedepends=('byacc') -source=('dataworks::svn+http://sw.nishi.boats/svn/nishi-dataworks/trunk#revision=199') +source=('dataworks::svn+http://sw.nishi.boats/svn/nishi-dataworks/trunk#revision=239') sha256sums=('SKIP') build() { diff --git a/dataworks.vim b/dataworks.vim index 75e3484..4408c72 100644 --- a/dataworks.vim +++ b/dataworks.vim @@ -13,7 +13,7 @@ syn match dataworksString /\v'[^']+'/ display syn match dataworksNumber /\v[+-]?[0-9]+(\.[0-9]+)?/ display syn match dataworksComment /\v#.*$/ display syn region dataworksArgument start='(' end=')' fold transparent -syn match dataworksIdent /\v\c(create_table|use|insert|print|version)/ display +syn match dataworksIdent /\v\c(create_table|use|insert|print|version|select|index)/ display hi def link dataworksString String hi def link dataworksNumber Number diff --git a/increment-PKGBUILD b/increment-PKGBUILD index 7facc89..81b5c5d 100644 --- a/increment-PKGBUILD +++ b/increment-PKGBUILD @@ -1 +1 @@ -36 +37