Search found 11 matches
- 10.04.2015 20:16
- Forum: Lexers
- Topic: Visual dbase
- Replies: 24
- Views: 6791
- 10.04.2015 19:25
- Forum: Lexers
- Topic: Visual dbase
- Replies: 24
- Views: 6791
- 10.04.2015 13:09
- Forum: Lexers
- Topic: Visual dbase
- Replies: 24
- Views: 6791
I have a problem with this regexp: ^\s*\*.* I'm trying to tag as a comment any line in which the first non whitespace is an asterisk. But as can be seen in the image, even when the comments in line 3 and 5 are matched (they appear in green), the comment in line 7 is not. And the only difference betw...
- 02.04.2015 13:14
- Forum: Lexers
- Topic: Visual dbase
- Replies: 24
- Views: 6791
- 02.04.2015 11:57
- Forum: Lexers
- Topic: Visual dbase
- Replies: 24
- Views: 6791
- 01.04.2015 10:09
- Forum: Lexers
- Topic: Visual dbase
- Replies: 24
- Views: 6791
I've updated the lexer with your suggestions. Thank you for them. I've seen that instead of reusing the EndClass rule to close the Procedures (as I had tried first) you have defined a new EndClass-2 rule to do that. I've renamed that rule to EndProcedure, to better reflect its role. Beside that, I'v...
- 24.03.2015 21:08
- Forum: Lexers
- Topic: Visual dbase
- Replies: 24
- Views: 6791
Here you have the exported lexer and a dummy source example. In your lexer you are using ENDCLASS to detect the end of a procedure, but that doesn't always work, because procedures can be outside classes. I've tried something similar that I thought could work, that is: using the 'EndClass' rule in m...
- 24.03.2015 09:21
- Forum: Lexers
- Topic: Visual dbase
- Replies: 24
- Views: 6791
- 10.03.2015 15:55
- Forum: Lexers
- Topic: Visual dbase
- Replies: 24
- Views: 6791
- 10.03.2015 15:48
- Forum: Lexers
- Topic: Visual dbase
- Replies: 24
- Views: 6791