Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
why3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
Why3
why3
Commits
b7dd1446
You need to sign in or sign up before continuing.
Commit
b7dd1446
authored
15 years ago
by
Jean-Christophe Filliâtre
Browse files
Options
Downloads
Patches
Plain Diff
token UNDERSCORE
parent
e06b2459
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lexer.mll
+2
-0
2 additions, 0 deletions
src/lexer.mll
src/parser.mly
+2
-1
2 additions, 1 deletion
src/parser.mly
with
4 additions
and
1 deletion
src/lexer.mll
+
2
−
0
View file @
b7dd1446
...
...
@@ -146,6 +146,8 @@ rule token = parse
{
newline
lexbuf
;
token
lexbuf
}
|
space
+
{
token
lexbuf
}
|
'
_'
{
UNDERSCORE
}
|
lident
as
id
{
try
Hashtbl
.
find
keywords
id
with
Not_found
->
LIDENT
id
}
|
uident
as
id
...
...
This diff is collapsed.
Click to expand it.
src/parser.mly
+
2
−
1
View file @
b7dd1446
...
...
@@ -101,7 +101,8 @@
%
token
QUOTE
RAISE
RAISES
READS
REAL
REC
REF
RETURNS
RIGHTB
RIGHTBRIGHTB
%
token
RIGHTPAR
RIGHTSQ
%
token
SEMICOLON
SLASH
%
token
THEN
THEORY
TIMES
TRUE
TRY
TYPE
UNIT
USES
VARIANT
VOID
WHILE
WITH
WRITES
%
token
THEN
THEORY
TIMES
TRUE
TRY
TYPE
UNDERSCORE
%
token
UNIT
USES
VARIANT
VOID
WHILE
WITH
WRITES
/*
Precedences
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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