Skip to content

Commit

Permalink
fix filename parsing in DAT sections P2
Browse files Browse the repository at this point in the history
  • Loading branch information
ironsheep committed Jan 9, 2024
1 parent b0df2d1 commit 197192e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions spin2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ Possible next additions:
- Add new-file templates as Snippets
- Add additional Snippets as the community identifies them

## [2.2.13] 2024-01-09

Update P2

- Fix a broken case of filename parsing (hyphens in filename)

## [2.2.12] 2024-01-02

Update P1 and P2
Expand Down
2 changes: 1 addition & 1 deletion spin2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"icon": "images/Propeller.ico",
"author": "IronSheep",
"license": "MIT",
"version": "2.2.12",
"version": "2.2.13",
"repository": {
"type": "git",
"url": "https://github.com/ironsheep/P2-vscode-langserv-extension"
Expand Down
2 changes: 1 addition & 1 deletion spin2/scripts/LIVE-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"icon": "images/Propeller.ico",
"author": "IronSheep",
"license": "MIT",
"version": "2.2.12",
"version": "2.2.13",
"repository": {
"type": "git",
"url": "https://github.com/ironsheep/P2-vscode-langserv-extension"
Expand Down
2 changes: 1 addition & 1 deletion spin2/scripts/TEST-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "P1 and P2 Spin/Pasm Syntax/Semantic Highlighting w/Code Outline, Object Outline and Custom tabbing support",
"author": "IronSheep",
"license": "MIT",
"version": "2.2.12",
"version": "2.2.13",
"repository": {
"type": "git",
"url": "https://github.com/ironsheep/P2-vscode-langserv-extension"
Expand Down
2 changes: 1 addition & 1 deletion spin2/server/src/parser/spin2.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ export class Spin2ParseUtils {
}

public getNonWhiteNOperatorLineParts(line: string): string[] {
let lineParts: string[] | null = line.match(/[^ \t\-\+\<\>]+/g);
let lineParts: string[] | null = line.match(/[^ \t\+\<\>]+/g);
return lineParts == null ? [] : lineParts;
}

Expand Down

0 comments on commit 197192e

Please sign in to comment.