Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
f6b8b24b
Commit
f6b8b24b
authored
14 years ago
by
Paweł Kędzia
Browse files
Options
Downloads
Patches
Plain Diff
Fix lexer rules: WS and STRING
parent
589705f5
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libwccl/parser/grammar.g
+12
-11
12 additions, 11 deletions
libwccl/parser/grammar.g
with
12 additions
and
11 deletions
libwccl/parser/grammar.g
+
12
−
11
View file @
f6b8b24b
...
...
@@ -1190,12 +1190,14 @@ options {
k = 2;
}
// TODO
STRING
options {
paraphrase = "a string";
}
: '"'! (~'"')* '"'!
| '\''! (~'\'')* '\''!
: '"'!
(~
(
'"'
| '\n' | '\r')
)* '"'!
| '\''! (~
(
'\''
| '\n' | '\r')
)* '\''!
;
SIGNED_INT
...
...
@@ -1336,15 +1338,14 @@ options {
WS
: ( ' '
| '\t'
| '\f'
| ( "\r\n"
| '\r'
| '\n'
)
{ newline(); }
)
{ $setType(antlr::Token::SKIP); }
| '\t'
| '\f'
|
( "\r\n"
| '\r'
| '\n'
) { newline(); }
) { $setType(antlr::Token::SKIP); }
;
COMMENT
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment