Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
og-rek
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Kirill Smelkov
og-rek
Commits
607c0487
Commit
607c0487
authored
Jun 28, 2014
by
Sean DuBois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement C GLOBAL opcode
parent
c57544de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
ogórek.go
ogórek.go
+15
-1
No files found.
ogórek.go
View file @
607c0487
...
@@ -527,8 +527,22 @@ func (d *Decoder) build() error {
...
@@ -527,8 +527,22 @@ func (d *Decoder) build() error {
return
errNotImplemented
return
errNotImplemented
}
}
type
Class
struct
{
module
,
name
string
}
func
(
d
*
Decoder
)
global
()
error
{
func
(
d
*
Decoder
)
global
()
error
{
return
errNotImplemented
module
,
_
,
err
:=
d
.
r
.
ReadLine
()
if
err
!=
nil
{
return
nil
}
name
,
_
,
err
:=
d
.
r
.
ReadLine
()
if
err
!=
nil
{
return
nil
}
d
.
stack
=
append
(
d
.
stack
,
&
Class
{
module
:
string
(
module
),
name
:
string
(
name
)})
return
nil
}
}
func
(
d
*
Decoder
)
loadDict
()
error
{
func
(
d
*
Decoder
)
loadDict
()
error
{
...
...
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