mirror of https://github.com/tbklang/tlang.git
Function prototypes #85
Labels
No Label
dependency
emit
hashmapper
lebanonmapper
lexer
meta
needsfix
parser
qol
question
resolution
typing
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
Dependencies
No dependencies set.
Reference: tlang/tlang#85
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What is this?
Well, when we sometimes emit function definitions and refer to them we sometimes will have an implicit generation of a function caused by the
cc
compiler. We can fix this by emitting prorotypes for each function first and thne only the function definitions.This has been implemented with the functions
emitFunctionPrototypes()
andemitFunctionPrototype(stirng functionName)
in commit7a12c25f74104617e863328ca20314289dfd54f7
on the branch of this issue.