Skip to content

Commit c13190f

Browse files
committed
docs(parser): add regeneration warning to SimpleCharStream header
The file is maintained by hand on top of the JavaCC template and carries the in-buffer rewrite of a leading # in BeginToken(), which Feature.allowHashLineComments depends on. Per review on #2508.
1 parent 3dfacb7 commit c13190f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/main/java/net/sf/jsqlparser/parser/SimpleCharStream.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
* #L%
99
*/
1010
/* Generated By:JavaCC: Do not edit this line by hand. SimpleCharStream.java Version 8.0.0 */
11+
/*
12+
* Warning: this file is maintained by hand on top of the JavaCC template. Among other manual
13+
* adjustments it carries the in-buffer '#' rewrite in BeginToken(), which
14+
* Feature.allowHashLineComments depends on. Never overwrite it with a freshly generated
15+
* SimpleCharStream, that would silently drop the rewrite and break allowHashLineComments.
16+
*/
1117
package net.sf.jsqlparser.parser;
1218

1319
import net.sf.jsqlparser.parser.feature.Feature;

0 commit comments

Comments
 (0)