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
O
Ocarina
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
Ocarina
Commits
cec7a931
Commit
cec7a931
authored
Jan 16, 2016
by
yoogx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Review circuitry of Parse_Source_Filename
parent
76b044ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
src/main/ocarina-cmd_line.adb
src/main/ocarina-cmd_line.adb
+1
-7
No files found.
src/main/ocarina-cmd_line.adb
View file @
cec7a931
...
...
@@ -152,7 +152,6 @@ package body Ocarina.Cmd_Line is
": invalid parameter for switch -"
&
Switch
);
Write_Eol
;
OS_Exit
(
1
);
end
Parse_Command_Line
;
-----------------------------
...
...
@@ -161,12 +160,7 @@ package body Ocarina.Cmd_Line is
procedure
Parse_Source_Filename
(
S
:
String
)
is
begin
if
S
(
S
'
First
)
=
'-'
then
-- If there is a new switch, then the previous
-- files are discarded.
Sources
.
Init
;
elsif
S
(
S
'
First
)
=
'@'
then
if
S
(
S
'
First
)
=
'@'
then
declare
Files
:
constant
Ada
.
Command_Line
.
Response_File
.
Argument_List
:=
...
...
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