Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
35c68db0
Commit
35c68db0
authored
Jan 29, 2013
by
yoogx
Browse files
* Return ASCII code for non graphic characters
parent
f2fd0b69
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/frontends/aadl/ocarina-fe_aadl-lexer.adb
View file @
35c68db0
...
...
@@ -691,7 +691,9 @@ package body Ocarina.FE_AADL.Lexer is
else
Error_Loc
(
1
)
:=
Token_Location
;
DE
(
"non graphic character '|"
&
Ch
&
"' is not allowed in string lateral, ignored"
);
"' (ASCII code"
&
Standard
.
Character
'
Pos
(
Ch
)'
Img
&
") is not allowed in string lateral, ignored"
);
if
Token_Location
.
Scan
>
Token_Location
.
EOF
then
DE
(
"scanning string, end of file reached, exit"
);
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment