Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i make ".errors" file with '\n' inside? #17

Open
akashipov opened this issue Jul 15, 2019 · 0 comments
Open

How can i make ".errors" file with '\n' inside? #17

akashipov opened this issue Jul 15, 2019 · 0 comments

Comments

@akashipov
Copy link

akashipov commented Jul 15, 2019

When I try to test my grammar I get this error exception:

[ERROR] Failed to execute goal com.khubla.antlr:antlr4test-maven-plugin:1.11:test (VisualBasic6) on project matcher-core: Unable execute mojo: VB6_BACKDOOR_TIMEBOMB.vb.errors : expected (line 24:19 no viable alternative at input '
[ERROR] 
[ERROR] If Timer() < 1234 Then
[ERROR] 
[ERROR] End If
[ERROR] 
[ERROR] If Year(date)=2017 Then
[ERROR] \tactivateBackdoor();'), but was (line 24:19 no viable alternative at input '\n\nIf Timer() < 1234 Then\n    \nEnd If\n\nIf Year(date)=2017 Then\n\tactivateBackdoor();')

I don't understand how is it possible. '\n''s encoding like a newline but '\t''s not. And adding '\' before symbol '\n' in ".errors" file does't give any successful result (printed like '\').
I think something is wrong. Encoding file is 'utf-8', default value encoding in this plugin is 'utf-8' too.

@akashipov akashipov changed the title How can i make errors file with '\n' inside? How can i make ".errors" file with '\n' inside? Jul 15, 2019
teverett added a commit that referenced this issue May 16, 2021
…n.plugins-maven-plugin-plugin-3.6.1

Bump maven-plugin-plugin from 3.6.0 to 3.6.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant