#2135 does not allow multiple lexer imports within same file
Open
- Dominant language
- Java
- Stars
- 19k
- Forks
- 3.5k
- PR merge metrics
- No merged PRs in 30d
Description
#2135 does not allow multiple lexer imports within same file
Grammar:
```
options { tokenVocab=SomeLexer; }
```
Lexer:
```
lexer grammar SomeLexer;
import x;
import y;
```
Nor
```
lexer grammar SomeLexer;
import y;
```
Not permitted.
Contributor guide
Research direction
The issue names no files or tests. Reproduce the shown lexer grammars and trace the parser-generator handling of lexer imports; done means both single- and multiple-import forms are accepted with tokenVocab.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100