Commit 9d034a4
committed
CPreProcessor: don't use isTagExtra() to pick up tags for adding them to a signature string
The original code scanned corkQueue to pick up tags for making
signature string. To avoid adding unwanted tags to the signature
string, isTagExtra was used (522de3f).
However, filtering with isTagExtra was too aggressive; tags extracted
by the CPreProcessor parser running as a part of guest parser were
rejected.
This change uses an intArray. Instead of filtering candidate items in
the corkQueue, the CPreProcessor collects tags for parameters to
the intArray. The parameters are parts of a signature, not candidates.
Therefore we don't need "filtering" anymore.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>1 parent 127a4f4 commit 9d034a4
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
874 | | - | |
| 874 | + | |
875 | 875 | | |
876 | 876 | | |
877 | 877 | | |
| |||
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
| 893 | + | |
893 | 894 | | |
894 | 895 | | |
895 | | - | |
| 896 | + | |
896 | 897 | | |
897 | 898 | | |
898 | | - | |
| 899 | + | |
899 | 900 | | |
| 901 | + | |
900 | 902 | | |
901 | | - | |
| 903 | + | |
902 | 904 | | |
903 | 905 | | |
904 | 906 | | |
| |||
939 | 941 | | |
940 | 942 | | |
941 | 943 | | |
| 944 | + | |
942 | 945 | | |
943 | 946 | | |
944 | 947 | | |
| |||
953 | 956 | | |
954 | 957 | | |
955 | 958 | | |
956 | | - | |
| 959 | + | |
| 960 | + | |
957 | 961 | | |
958 | 962 | | |
959 | 963 | | |
| |||
965 | 969 | | |
966 | 970 | | |
967 | 971 | | |
968 | | - | |
| 972 | + | |
969 | 973 | | |
970 | 974 | | |
971 | 975 | | |
972 | 976 | | |
973 | 977 | | |
| 978 | + | |
974 | 979 | | |
975 | 980 | | |
976 | 981 | | |
| |||
0 commit comments