Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
latte
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zygzagZ
latte
Commits
1069f66d
Commit
1069f66d
authored
Dec 30, 2020
by
zygzagZ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Makefile + indent
parent
13d56913
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Makefile
Makefile
+1
-1
TypeCheck.cpp
src/TypeCheck.cpp
+1
-1
No files found.
Makefile
View file @
1069f66d
...
@@ -12,7 +12,7 @@ clean :
...
@@ -12,7 +12,7 @@ clean :
latc
:
${OBJS} Latte.o
latc
:
${OBJS} Latte.o
@
echo
"Linking latc..."
@
echo
"Linking latc..."
${
CC
}
${
CCFLAGS
}
${
OBJS
}
Latte.o
-o
latc
${
CC
}
${
CCFLAGS
}
${
OBJS
}
Latte.o
-
lstdc
++fs
-
o
latc
Absyn.o
:
src/Absyn.cpp src/Absyn.h
Absyn.o
:
src/Absyn.cpp src/Absyn.h
${
CC
}
${
CCFLAGS
}
-c
src/Absyn.cpp
${
CC
}
${
CCFLAGS
}
-c
src/Absyn.cpp
...
...
src/TypeCheck.cpp
View file @
1069f66d
...
@@ -109,7 +109,7 @@ void TypeCheck::visitClassFld(ClassFld *decl)
...
@@ -109,7 +109,7 @@ void TypeCheck::visitClassFld(ClassFld *decl)
throw
ParseError
(
"Initialization in class variable definition"
,
decl
);
throw
ParseError
(
"Initialization in class variable definition"
,
decl
);
}
}
VarInfoPtr
var
=
make_shared
<
VarInfo
>
(
el
->
pident_
,
type
);
VarInfoPtr
var
=
make_shared
<
VarInfo
>
(
el
->
pident_
,
type
);
el
->
pident_
->
var
=
var
;
el
->
pident_
->
var
=
var
;
scope
->
currentClass
->
variables
<<
var
;
scope
->
currentClass
->
variables
<<
var
;
}
}
...
...
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