Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ev3basic
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ev3basic
Commits
68f99e89
Commit
68f99e89
authored
Mar 06, 2018
by
c0pperdragon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for compiler crash on program error, various typos.
parent
3f4ddf93
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
CompilerTest/Program.cs
CompilerTest/Program.cs
+3
-2
Documentation/SmallBasicEV3Extension.de.XML
Documentation/SmallBasicEV3Extension.de.XML
+3
-3
EV3BasicCompiler/Compiler.cs
EV3BasicCompiler/Compiler.cs
+5
-2
No files found.
CompilerTest/Program.cs
View file @
68f99e89
...
...
@@ -34,8 +34,9 @@ namespace Test
}
static
void
TestCompile
()
{
String
f
=
"C:/Users/Reinhard/Documents/GitHub/EV3Basic/Examples/Concurrency.sb"
;
{
// String f = "C:/Users/Reinhard/Documents/GitHub/EV3Basic/Examples/Concurrency.sb";
String
f
=
"C:/Users/Reinhard/Desktop/Gripper_Rolf.sb"
;
FileStream
fs
=
new
FileStream
(
f
,
FileMode
.
Open
,
FileAccess
.
Read
);
FileStream
ofs
=
new
FileStream
(
"c:/temp/compiledbasic.lms"
,
FileMode
.
Create
,
FileAccess
.
Write
);
...
...
Documentation/SmallBasicEV3Extension.de.XML
View file @
68f99e89
...
...
@@ -1362,13 +1362,13 @@
<param
name=
"size"
>
Anzahl der Elemente von jedem Vektor für die Berechnung
</param>
<param
name=
"A"
>
Erster Vektor
</param>
<param
name=
"B"
>
Zweiter Vektor
</param>
<returns>
A
Vektor der angegebenen Größe, der alle Summen enhält.
</returns>
<returns>
Ein
Vektor der angegebenen Größe, der alle Summen enhält.
</returns>
</member>
<member
name=
"M:SmallBasicEV3Extension.Vector.Sort(Microsoft.SmallBasic.Library.Primitive,Microsoft.SmallBasic.Library.Primitive)"
>
<summary>
Sortiert die Element eines Vektors in aufsteigender Reihenfolge.
Sortiert die Element
e
eines Vektors in aufsteigender Reihenfolge.
</summary>
<param
name=
"size"
>
Anzahl der Element
s
</param>
<param
name=
"size"
>
Anzahl der Element
e
</param>
<param
name=
"A"
>
Der zu sortierende Vektor
</param>
<returns>
Ein neuer Vektor mit den sortierten Elementen
</returns>
</member>
...
...
EV3BasicCompiler/Compiler.cs
View file @
68f99e89
...
...
@@ -2016,9 +2016,12 @@ namespace EV3BasicCompiler
else
{
functionofsub
[
sub
]
=
fd
;
foreach
(
String
callee
in
subcallstructure
[
sub
]
)
if
(
subcallstructure
.
ContainsKey
(
sub
)
)
{
set_all_functionofsub
(
fd
,
callee
);
foreach
(
String
callee
in
subcallstructure
[
sub
])
{
set_all_functionofsub
(
fd
,
callee
);
}
}
}
}
...
...
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