We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this is correct code that fails with current grammar: cout << "hello " "world"; example: https://ideone.com/aRPTIT
cout << "hello " "world";
#include <iostream> using namespace std; int main() { //example a cout << "hello " "world" "s" << endl; //example b cout << "hello " "world" \ "s" << endl; return 0; }
example a is not corrected but it should work too instead error is: line 9:26 token recognition error at: '\\r'
line 9:26 token recognition error at: '\\r'
i corrected example b like the following file CPP14.g4 line 2068: before: | Stringliteral after: | Stringliteral+
| Stringliteral
| Stringliteral+
The text was updated successfully, but these errors were encountered:
Please submit a PR
Sorry, something went wrong.
PR antlr#1289
54376fd
Merge pull request #1328 from teverett/master
ca84eda
PR #1289
PR #1328
No branches or pull requests
this is correct code that fails with current grammar:
cout << "hello " "world";
example: https://ideone.com/aRPTIT
example a is not corrected but it should work too instead error is:
line 9:26 token recognition error at: '\\r'
i corrected example b like the following
file CPP14.g4 line 2068:
before:
| Stringliteral
after:
| Stringliteral+
The text was updated successfully, but these errors were encountered: