mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
cppparser: Fix wide character literals in #if
This commit is contained in:
parent
e29b326dd8
commit
ba51b2cdca
@ -919,6 +919,10 @@ expand_manifests(string &expr, const Manifests &manifests, bool expand_undefined
|
|||||||
else if (expand_undefined && ident == "__has_include") {
|
else if (expand_undefined && ident == "__has_include") {
|
||||||
expand_has_include_function(expr, q, p);
|
expand_has_include_function(expr, q, p);
|
||||||
}
|
}
|
||||||
|
else if (ident == "L" && p < expr.size() && (expr[p] == '\'' || expr[p] == '\"')) {
|
||||||
|
// Special exception for the wide string literal suffix, which is
|
||||||
|
// never expanded.
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
// Is it a manifest?
|
// Is it a manifest?
|
||||||
Manifests::const_iterator mi = manifests.find(ident);
|
Manifests::const_iterator mi = manifests.find(ident);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user