Skip to content

Commit

Permalink
docs: pgsql: update copyright and Reference of parser and lexer
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoge committed Nov 7, 2023
1 parent 2132850 commit a2752e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
12 changes: 6 additions & 6 deletions src/grammar/pgsql/PostgreSQLLexer.g4
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@

/**
* based on
* https://github.com/antlr/grammars-v4/blob/master/sql/postgresql/PostgreSQLLexer.g4
*/

/*
* [The "MIT license"]
* Copyright (C) 2014 Sam Harwell, Tunnel Vision Laboratories, LLC
Expand All @@ -30,6 +24,12 @@
* written authorization from Tunnel Vision Laboratories, LLC.
*/


/**
* This file is an adaptation of antlr's sql/postgresql/PostgreSQLLexer.g4 grammar.
* Reference: https://github.com/antlr/grammars-v4/blob/master/sql/postgresql/PostgreSQLLexer.g4
*/

lexer grammar PostgreSQLLexer;

/**
Expand Down
13 changes: 6 additions & 7 deletions src/grammar/pgsql/PostgreSQLParser.g4
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@

/**
* based on
* https://github.com/antlr/grammars-v4/blob/master/sql/postgresql/PostgreSQLLexer.g4
*/

/*
* [The "MIT license"]
* Copyright (C) 2014 Sam Harwell, Tunnel Vision Laboratories, LLC
Expand All @@ -29,7 +23,12 @@
* promote the sale, use or other dealings in this Software without prior
* written authorization from Tunnel Vision Laboratories, LLC.
*/


/**
* This file is an adaptation of antlr's sql/postgresql/PostgreSQLParser.g4 grammar.
* Reference: https://github.com/antlr/grammars-v4/blob/master/sql/postgresql/PostgreSQLParser.g4
*/

/**
* Reference Doc: https://www.postgresql.org/docs/9.3/sql-commands.html
*/
Expand Down

0 comments on commit a2752e2

Please sign in to comment.