mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix minor typo in c/frontend/preprocess
This commit is contained in:
@@ -956,7 +956,7 @@ substitute_token :: proc(cpp: ^Preprocessor, tok: ^Token, args: ^Macro_Arg) -> ^
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if tok.lit == "__VA__OPT__" && tok.next.lit == "(" {
|
if tok.lit == "__VA_OPT__" && tok.next.lit == "(" {
|
||||||
opt_arg := read_macro_arg_one(cpp, &tok, tok.next.next, true)
|
opt_arg := read_macro_arg_one(cpp, &tok, tok.next.next, true)
|
||||||
if has_varargs(args) {
|
if has_varargs(args) {
|
||||||
for t := opt_arg.tok; t.kind != .EOF; t = t.next {
|
for t := opt_arg.tok; t.kind != .EOF; t = t.next {
|
||||||
|
|||||||
Reference in New Issue
Block a user