Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
54b2d8c8
Commit
54b2d8c8
authored
Jul 10, 2007
by
Pietro Abate
Browse files
[r2002-11-11 23:23:39 by cvscast] Empty log message
Original author: cvscast Date: 2002-11-11 23:23:39+00:00
parent
ef588b38
Changes
1
Hide whitespace changes
Inline
Side-by-side
parser/parser.ml
View file @
54b2d8c8
...
...
@@ -216,6 +216,7 @@ EXTEND
|
x
=
regexp
;
"?"
->
Alt
(
x
,
Epsilon
)
|
x
=
regexp
;
"??"
->
Alt
(
Epsilon
,
x
)
]
|
[
"("
;
x
=
regexp
;
")"
->
x
|
"("
;
a
=
LIDENT
;
":="
;
c
=
const
;
")"
->
Elem
(
mk
loc
(
Constant
(
a
,
c
)))
|
UIDENT
"PCDATA"
->
string_regexp
|
i
=
STRING1
;
"--"
;
j
=
STRING1
->
let
i
=
Chars
.
Unichar
.
from_char
(
parse_char
loc
i
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment