Closed ChrisCatCP closed 3 years ago
Hi! I'm not sure what this means. What command are you running and what does it have to do with Wave?
There will be two more spaces
That's Wave, yes - but the input is not C++... I don't understand. Why are you trying to put Lua code through a C++ preprocessor?
I just want to include this file in another file And I think it should be a bug
I see - you want to run Wave as a Lua preprocessor, and it's doing something you think is wrong? Can you explain what is wrong?
I don't know what "There will be two more spaces" means.
For one thing, the input has an unterminated string - the double quote before $&...
has no match
Ah. In C++ numbers beginning with 0
are octal. So when it encounters 8
it decides that is a separate decimal number.
Then the following A
begins a symbol, because A
cannot be part of a decimal number.
So is this normal?
Nothing about your input is normal :) This is a C++ preprocessor, not a Lua preprocessor. So yes?
thanks
local codinglist = [[0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!="$&'()*+,-./<>?@[\]^_`{|}~]]
This lua code will look like this if it is includedlocal codinglist = [[01234567 89 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!="$&'()*+,-./<>?@[\]^_`{|}~]]
I don't know why there are two more spacescmd: --extended --c99 --preserve=2 --line=0