Skip to content

Commit

Permalink
Readds parser symbols as utf8 and small nits
Browse files Browse the repository at this point in the history
  • Loading branch information
ncordon committed Nov 14, 2024
1 parent e103b91 commit 4979ef1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions packages/language-support/src/antlr-grammar/Cypher5Lexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -1295,15 +1295,15 @@ IDENTIFIER
;
ARROW_LINE
: [\-\u00AD]
: [\-\u00AD\u2010\u2011\u2012\u2013\u2014\u2015\ufe58\ufe63\uff0d]
;
ARROW_LEFT_HEAD
: [<]
: [\u27e8\u3008\ufe64\uff1c\u003c]
;
ARROW_RIGHT_HEAD
: [>]
: [\u27e9\u3009\ufe65\uff1e]
;
fragment LETTER
Expand Down
1 change: 0 additions & 1 deletion packages/vscode-extension/esbuild.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
const esbuild = require('esbuild');

const production = process.argv.includes('--production');
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
"vscode:prepublish": "npm run build",
"bundle-language-server": "cd ../language-server && npm run bundle && cp dist/cypher-language-server.js ../vscode-extension/dist/ && npm run bundle-worker && cp dist/lintWorker.js ../vscode-extension/dist/",
"bundle-extension": "node ./esbuild.js --production",
"bundle-ndl": "esbuild src/ndl.ts --outfile=resources/styles/ndl.js --bundle --loader:.woff2=dataurl",
"bundle-ndl": "cp ./node_modules/@neo4j-ndl/base/lib/neo4j-ds-styles.css ./resources/styles/ndl.css",
"bundle-extension:dev": "node ./esbuild.js",
"bundle-webview-controllers": "esbuild ./src/webviews/controllers/* --bundle --outdir=dist --platform=browser",
"build": "tsc -b && npm run gen-textmate && npm run bundle-extension && npm run bundle-language-server && npm run bundle-webview-controllers && npm run bundle-ndl",
Expand Down
1 change: 0 additions & 1 deletion packages/vscode-extension/src/ndl.ts

This file was deleted.

2 changes: 1 addition & 1 deletion vendor/antlr4-c3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"build-commonjs": "tsc --module commonjs --outDir dist/cjs",
"prepublishOnly": "npm run generate && npm run test",
"test": "vitest run",
"generate": "cd tests && generate.sh",
"generate": "cd tests && sh generate.sh",
"eslint": "eslint .",
"clean": "rm -rf dist"
},
Expand Down

0 comments on commit 4979ef1

Please sign in to comment.