Skip to content

Commit

Permalink
Making location optional
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRayCode committed May 28, 2023
1 parent f895b27 commit 1893294
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"engines": {
"node": ">=16"
},
"version": "1.4.0",
"version": "1.4.1",
"description": "A GLSL ES 1.0 and 3.0 parser and preprocessor that can preserve whitespace and comments",
"scripts": {
"prepare": "npm run build && ./prepublish.sh",
Expand Down
2 changes: 1 addition & 1 deletion src/ast/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type LocationObject = {
};

export interface BaseNode {
location: LocationObject;
location?: LocationObject;
}

export interface LiteralNode extends BaseNode {
Expand Down

0 comments on commit 1893294

Please sign in to comment.