mirror of https://github.com/tbklang/tlang.git
Compare commits
2 Commits
7e958c5658
...
5f81ac41db
Author | SHA1 | Date |
---|---|---|
Tristan B. Velloza Kildaire | 5f81ac41db | |
Tristan B. Velloza Kildaire | ed346116a8 |
|
@ -71,6 +71,10 @@ jobs:
|
||||||
# mv doveralls_linux_travis doveralls
|
# mv doveralls_linux_travis doveralls
|
||||||
# chmod +x doveralls
|
# chmod +x doveralls
|
||||||
dub fetch doveralls
|
dub fetch doveralls
|
||||||
|
|
||||||
|
# Thank you Indian fella, you receive 1 satoshi (https://github.com/orgs/community/discussions/120966#discussioncomment-9211925)
|
||||||
|
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install libcurl4-openssl-dev
|
sudo apt install libcurl4-openssl-dev
|
||||||
|
|
||||||
|
|
|
@ -2029,6 +2029,21 @@ public final class Parser
|
||||||
|
|
||||||
parentToContainer(container, [varAssExp]);
|
parentToContainer(container, [varAssExp]);
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* If we have a `PointerDereferenceAssignment`
|
||||||
|
* then we must parent its left-hand and right-hand
|
||||||
|
* side expressions (the expression the address
|
||||||
|
* is derived from) and (the expression being
|
||||||
|
* assigned)
|
||||||
|
*/
|
||||||
|
else if(cast(PointerDereferenceAssignment)statement)
|
||||||
|
{
|
||||||
|
PointerDereferenceAssignment ptrDerefAss = cast(PointerDereferenceAssignment)statement;
|
||||||
|
Expression addrExp = ptrDerefAss.getPointerExpression();
|
||||||
|
Expression assExp = ptrDerefAss.getExpression();
|
||||||
|
|
||||||
|
parentToContainer(container, [addrExp, assExp]);
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* If we have a `FunctionCall`
|
* If we have a `FunctionCall`
|
||||||
* expression
|
* expression
|
||||||
|
|
Loading…
Reference in New Issue