swig/Source/CParse
Olly Betts a7ff0da1f3 Improve parsing of % followed immediately by identifier
If it's not a recognised directive the scanner now emits MODULO and then
rescans what follows, and if the parser then gives a syntax error we
report it as an unknown directive. This means that `a%b` is now allowed
in an expression, and that things like `%std::vector<std::string>` now
give an error rather than being quietly ignored.

Fixes #300
Fixes #368
2022-02-15 15:09:44 +13:00
..
cparse.h new_node refactor 2018-05-19 09:00:06 +01:00
cscanner.c Improve parsing of % followed immediately by identifier 2022-02-15 15:09:44 +13:00
parser.y Merge branch 'swig-fortran/extern-c-int' 2022-02-11 08:28:27 +13:00
templ.c Clean up uses of Replace() 2022-02-06 09:59:30 +13:00
util.c new_node refactor 2018-05-19 09:00:06 +01:00