We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 214b1c8 commit 28111b9Copy full SHA for 28111b9
server/engine/src/main/antlr4/org/eclipse/lsp/cobol/core/CobolPreprocessor.g4
@@ -10,8 +10,8 @@ parser grammar CobolPreprocessor;
10
options {tokenVocab = CobolPreprocessorLexer;}
11
12
startRule
13
- : .*? ((includeStatement | copyStatement | replaceAreaStartOrOffStatement | titleDirective | enterDirective
14
- | controlDirective | plusplusIncludeStatement)+ .*?)* EOF
+ : (includeStatement | copyStatement | replaceAreaStartOrOffStatement | titleDirective | enterDirective
+ | controlDirective | plusplusIncludeStatement | .)* EOF
15
;
16
17
// copy statement
0 commit comments