Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ACGtk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ACG
dev
ACGtk
Commits
146eb32a
Commit
146eb32a
authored
Oct 03, 2018
by
POGODALLA Sylvain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reindentation
parent
c071b8ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
src/grammars/TODO.parser_bugs
src/grammars/TODO.parser_bugs
+1
-0
src/grammars/data_lexer.mll
src/grammars/data_lexer.mll
+2
-4
No files found.
src/grammars/TODO.parser_bugs
View file @
146eb32a
; -*-org-*-
* DONE Add an optional ";" before the "end" keyword
* TODO Change lexers to avoid problems with keywords
* TODO Add precedence values and management in the signature
* TODO Add (+) notation style to prevent the infix use of +
* TODO Add syntactic extensions to handle associativity and precedence of infix operators
...
...
src/grammars/data_lexer.mll
View file @
146eb32a
...
...
@@ -48,11 +48,9 @@ let letter = ['a'-'z' 'A'-'Z' '
let
digit
=
[
'
0
'
-
'
9
'
]
let
string
=
(
letter
|
digit
|
'
_'
)
*
'\''
*
let
symbol
=
[
'
|
'
'
!
'
'
"' '#' '$' '%' '&' '
\'
' '*' '+' '-' '/' '<' '>' '?' '@' '[' '
\\
' ']' '^' '`' '{' '}' '~' ]
let
symbol
=
[
'
|
'
'
!
'
'
"' '#' '$' '%' '&' '
\'
' '*' '+' '-' '/' '<' '>' '?' '@' '[' '
\\
' ']' '^' '`' '{' '}' '~' ]
rule lexer =
rule lexer =
parse
| [' ' '
\t
'] {lexer lexbuf}
| newline {let () = Error.update_loc lexbuf None in lexer lexbuf}
...
...
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