mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +00:00
Does this fix it?
This commit is contained in:
parent
9f54610fbd
commit
c675ba8086
2 changed files with 3 additions and 3 deletions
2
ftepp.c
2
ftepp.c
|
@ -1513,6 +1513,8 @@ static bool ftepp_hash(ftepp_t *ftepp)
|
||||||
case TOKEN_KEYWORD:
|
case TOKEN_KEYWORD:
|
||||||
case TOKEN_IDENT:
|
case TOKEN_IDENT:
|
||||||
case TOKEN_TYPENAME:
|
case TOKEN_TYPENAME:
|
||||||
|
case TOKEN_ATTRIBUTE_CLOSE:
|
||||||
|
case TOKEN_ATTRIBUTE_OPEN:
|
||||||
if (!strcmp(ftepp_tokval(ftepp), "define")) {
|
if (!strcmp(ftepp_tokval(ftepp), "define")) {
|
||||||
ftepp_inmacro(ftepp, "define");
|
ftepp_inmacro(ftepp, "define");
|
||||||
return ftepp_define(ftepp);
|
return ftepp_define(ftepp);
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
void foo() {
|
[[accumulate]] void foo() {
|
||||||
print("hello ");
|
print("hello ");
|
||||||
}
|
}
|
||||||
|
|
||||||
[[accumulate]] void foo() {
|
[[accumulate]] void foo() {
|
||||||
print("accumulation ");
|
print("accumulation ");
|
||||||
}
|
}
|
||||||
|
|
||||||
[[accumulate]] void foo() {
|
[[accumulate]] void foo() {
|
||||||
print("world\n");
|
print("world\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue