summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests
ModeNameSize
-rw-r--r--.gitignore54logstatsplain
-rw-r--r--000-content-with-spaces.c38logstatsplain
-rw-r--r--000-content-with-spaces.c.expected33logstatsplain
-rw-r--r--001-define.c18logstatsplain
-rw-r--r--001-define.c.expected3logstatsplain
-rw-r--r--002-define-chain.c34logstatsplain
-rw-r--r--002-define-chain.c.expected4logstatsplain
-rw-r--r--003-define-chain-reverse.c34logstatsplain
-rw-r--r--003-define-chain-reverse.c.expected4logstatsplain
-rw-r--r--004-define-recursive.c60logstatsplain
-rw-r--r--004-define-recursive.c.expected15logstatsplain
-rw-r--r--005-define-composite-chain.c36logstatsplain
-rw-r--r--005-define-composite-chain.c.expected6logstatsplain
-rw-r--r--006-define-composite-chain-reverse.c36logstatsplain
-rw-r--r--006-define-composite-chain-reverse.c.expected6logstatsplain
-rw-r--r--007-define-composite-recursive.c66logstatsplain
-rw-r--r--007-define-composite-recursive.c.expected33logstatsplain
-rw-r--r--008-define-empty.c16logstatsplain
-rw-r--r--008-define-empty.c.expected3logstatsplain
-rw-r--r--009-undef.c33logstatsplain
-rw-r--r--009-undef.c.expected8logstatsplain
-rw-r--r--010-undef-re-define.c51logstatsplain
-rw-r--r--010-undef-re-define.c.expected11logstatsplain
-rw-r--r--011-define-func-empty.c20logstatsplain
-rw-r--r--011-define-func-empty.c.expected3logstatsplain
-rw-r--r--012-define-func-no-args.c24logstatsplain
-rw-r--r--012-define-func-no-args.c.expected5logstatsplain
-rw-r--r--013-define-func-1-arg-unused.c26logstatsplain
-rw-r--r--013-define-func-1-arg-unused.c.expected3logstatsplain
-rw-r--r--014-define-func-2-arg-unused.c32logstatsplain
-rw-r--r--014-define-func-2-arg-unused.c.expected3logstatsplain
-rw-r--r--015-define-object-with-parens.c44logstatsplain
-rw-r--r--015-define-object-with-parens.c.expected14logstatsplain
-rw-r--r--016-define-func-1-arg.c32logstatsplain
-rw-r--r--016-define-func-1-arg.c.expected11logstatsplain
-rw-r--r--017-define-func-2-args.c40logstatsplain
-rw-r--r--017-define-func-2-args.c.expected15logstatsplain
-rw-r--r--018-define-func-macro-as-parameter.c36logstatsplain
-rw-r--r--018-define-func-macro-as-parameter.c.expected4logstatsplain
-rw-r--r--019-define-func-1-arg-multi.c51logstatsplain
-rw-r--r--019-define-func-1-arg-multi.c.expected30logstatsplain
-rw-r--r--020-define-func-2-arg-multi.c64logstatsplain
-rw-r--r--020-define-func-2-arg-multi.c.expected38logstatsplain
-rw-r--r--021-define-func-compose.c58logstatsplain
-rw-r--r--021-define-func-compose.c.expected16logstatsplain
-rw-r--r--022-define-func-arg-with-parens.c62logstatsplain
-rw-r--r--022-define-func-arg-with-parens.c.expected41logstatsplain
-rw-r--r--023-define-extra-whitespace.c189logstatsplain
-rw-r--r--023-define-extra-whitespace.c.expected18logstatsplain
-rw-r--r--024-define-chain-to-self-recursion.c38logstatsplain
-rw-r--r--024-define-chain-to-self-recursion.c.expected6logstatsplain
-rw-r--r--025-func-macro-as-non-macro.c29logstatsplain
-rw-r--r--025-func-macro-as-non-macro.c.expected9logstatsplain
-rw-r--r--026-define-func-extra-newlines.c30logstatsplain
-rw-r--r--026-define-func-extra-newlines.c.expected6logstatsplain
-rw-r--r--027-define-chain-obj-to-func.c52logstatsplain
-rw-r--r--027-define-chain-obj-to-func.c.expected10logstatsplain
-rw-r--r--028-define-chain-obj-to-non-func.c50logstatsplain
-rw-r--r--028-define-chain-obj-to-non-func.c.expected10logstatsplain
-rw-r--r--029-define-chain-obj-to-func-with-args.c58logstatsplain
-rw-r--r--029-define-chain-obj-to-func-with-args.c.expected10logstatsplain
-rw-r--r--030-define-chain-obj-to-func-compose.c92logstatsplain
-rw-r--r--030-define-chain-obj-to-func-compose.c.expected11logstatsplain
-rw-r--r--031-define-chain-func-to-func-compose.c96logstatsplain
-rw-r--r--031-define-chain-func-to-func-compose.c.expected11logstatsplain
-rw-r--r--032-define-func-self-recurse.c33logstatsplain
-rw-r--r--032-define-func-self-recurse.c.expected12logstatsplain
-rw-r--r--033-define-func-self-compose.c38logstatsplain
-rw-r--r--033-define-func-self-compose.c.expected21logstatsplain
-rw-r--r--034-define-func-self-compose-non-func.c30logstatsplain
-rw-r--r--034-define-func-self-compose-non-func.c.expected5logstatsplain
-rw-r--r--035-define-func-self-compose-non-func-multi-token-argument.c32logstatsplain
-rw-r--r--035-define-func-self-compose-non-func-multi-token-argument.c.expected7logstatsplain
-rw-r--r--036-define-func-non-macro-multi-token-argument.c51logstatsplain
-rw-r--r--036-define-func-non-macro-multi-token-argument.c.expected15logstatsplain
-rw-r--r--037-finalize-unexpanded-macro.c68logstatsplain
-rw-r--r--037-finalize-unexpanded-macro.c.expected20logstatsplain
-rw-r--r--038-func-arg-with-commas.c72logstatsplain
-rw-r--r--038-func-arg-with-commas.c.expected9logstatsplain
-rw-r--r--039-func-arg-obj-macro-with-comma.c471logstatsplain
-rw-r--r--039-func-arg-obj-macro-with-comma.c.expected201logstatsplain
-rw-r--r--040-token-pasting.c45logstatsplain
-rw-r--r--040-token-pasting.c.expected10logstatsplain
-rw-r--r--041-if-0.c41logstatsplain
-rw-r--r--041-if-0.c.expected23logstatsplain
-rw-r--r--042-if-1.c43logstatsplain
-rw-r--r--042-if-1.c.expected32logstatsplain
-rw-r--r--043-if-0-else.c57logstatsplain
-rw-r--r--043-if-0-else.c.expected34logstatsplain
-rw-r--r--044-if-1-else.c57logstatsplain
-rw-r--r--044-if-1-else.c.expected34logstatsplain
-rw-r--r--045-if-0-elif.c97logstatsplain
-rw-r--r--045-if-0-elif.c.expected38logstatsplain
-rw-r--r--046-if-1-elsif.c97logstatsplain
-rw-r--r--046-if-1-elsif.c.expected38logstatsplain
-rw-r--r--047-if-elif-else.c95logstatsplain
-rw-r--r--047-if-elif-else.c.expected38logstatsplain
-rw-r--r--048-if-nested.c92logstatsplain
-rw-r--r--048-if-nested.c.expected29logstatsplain
-rw-r--r--049-if-expression-precedence.c88logstatsplain
-rw-r--r--049-if-expression-precedence.c.expected12logstatsplain
-rw-r--r--050-if-defined.c170logstatsplain
-rw-r--r--050-if-defined.c.expected44logstatsplain
-rw-r--r--051-if-relational.c275logstatsplain
-rw-r--r--051-if-relational.c.expected89logstatsplain
-rw-r--r--052-if-bitwise.c279logstatsplain
-rw-r--r--052-if-bitwise.c.expected56logstatsplain
-rw-r--r--053-if-divide-and-shift.c163logstatsplain
-rw-r--r--053-if-divide-and-shift.c.expected42logstatsplain
-rw-r--r--054-if-with-macros.c369logstatsplain
-rw-r--r--054-if-with-macros.c.expected88logstatsplain
-rw-r--r--055-define-chain-obj-to-func-parens-in-text.c52logstatsplain
-rw-r--r--055-define-chain-obj-to-func-parens-in-text.c.expected10logstatsplain
-rw-r--r--056-macro-argument-with-comma.c91logstatsplain
-rw-r--r--056-macro-argument-with-comma.c.expected11logstatsplain
-rw-r--r--057-empty-arguments.c91logstatsplain
-rw-r--r--057-empty-arguments.c.expected27logstatsplain
-rw-r--r--058-token-pasting-empty-arguments.c66logstatsplain
-rw-r--r--058-token-pasting-empty-arguments.c.expected9logstatsplain
-rw-r--r--059-token-pasting-integer.c70logstatsplain
-rw-r--r--059-token-pasting-integer.c.expected21logstatsplain
-rw-r--r--060-left-paren-in-macro-right-paren-in-text.c49logstatsplain
-rw-r--r--060-left-paren-in-macro-right-paren-in-text.c.expected6logstatsplain
-rw-r--r--061-define-chain-obj-to-func-multi.c85logstatsplain
-rw-r--r--061-define-chain-obj-to-func-multi.c.expected12logstatsplain
-rw-r--r--062-if-0-skips-garbage.c44logstatsplain
-rw-r--r--062-if-0-skips-garbage.c.expected5logstatsplain
-rw-r--r--063-comments.c303logstatsplain
-rw-r--r--063-comments.c.expected92logstatsplain
-rw-r--r--064-version.c25logstatsplain
-rw-r--r--064-version.c.expected14logstatsplain
-rw-r--r--065-if-defined-parens.c177logstatsplain
-rw-r--r--065-if-defined-parens.c.expected44logstatsplain
-rw-r--r--066-if-nospace-expression.c22logstatsplain
-rw-r--r--066-if-nospace-expression.c.expected10logstatsplain
-rw-r--r--067-nested-ifdef-ifndef.c440logstatsplain
-rw-r--r--067-nested-ifdef-ifndef.c.expected68logstatsplain
-rw-r--r--068-accidental-pasting.c94logstatsplain
-rw-r--r--068-accidental-pasting.c.expected41logstatsplain
-rw-r--r--069-repeated-argument.c32logstatsplain
-rw-r--r--069-repeated-argument.c.expected5logstatsplain
-rw-r--r--070-undefined-macro-in-expression.c49logstatsplain
-rw-r--r--070-undefined-macro-in-expression.c.expected12logstatsplain
-rw-r--r--071-punctuator.c6logstatsplain
-rw-r--r--071-punctuator.c.expected6logstatsplain
-rw-r--r--072-token-pasting-same-line.c58logstatsplain
-rw-r--r--072-token-pasting-same-line.c.expected31logstatsplain
-rw-r--r--073-if-in-ifdef.c41logstatsplain
-rw-r--r--073-if-in-ifdef.c.expected4logstatsplain
-rw-r--r--074-elif-undef.c37logstatsplain
-rw-r--r--074-elif-undef.c.expected3logstatsplain
-rw-r--r--075-elif-elif-undef.c54logstatsplain
-rw-r--r--075-elif-elif-undef.c.expected4logstatsplain
-rw-r--r--076-elif-undef-nested.c59logstatsplain
-rw-r--r--076-elif-undef-nested.c.expected5logstatsplain
-rw-r--r--077-else-without-if.c6logstatsplain
-rw-r--r--077-else-without-if.c.expected48logstatsplain
-rw-r--r--078-elif-without-if.c18logstatsplain
-rw-r--r--078-elif-without-if.c.expected48logstatsplain
-rw-r--r--079-endif-without-if.c7logstatsplain
-rw-r--r--079-endif-without-if.c.expected49logstatsplain
-rw-r--r--080-if-without-expression.c70logstatsplain
-rw-r--r--080-if-without-expression.c.expected56logstatsplain
-rw-r--r--081-elif-without-expression.c19logstatsplain
-rw-r--r--081-elif-without-expression.c.expected56logstatsplain
-rw-r--r--082-invalid-paste.c98logstatsplain
-rw-r--r--082-invalid-paste.c.expected571logstatsplain
-rw-r--r--083-unterminated-if.c7logstatsplain
-rw-r--r--083-unterminated-if.c.expected48logstatsplain
-rw-r--r--084-unbalanced-parentheses.c32logstatsplain
-rw-r--r--084-unbalanced-parentheses.c.expected59logstatsplain
-rw-r--r--085-incorrect-argument-count.c56logstatsplain
-rw-r--r--085-incorrect-argument-count.c.expected284logstatsplain
-rw-r--r--086-reserved-macro-names.c95logstatsplain
-rw-r--r--086-reserved-macro-names.c.expected284logstatsplain
-rw-r--r--087-if-comments.c56logstatsplain
-rw-r--r--087-if-comments.c.expected8logstatsplain
-rw-r--r--088-redefine-macro-legitimate.c89logstatsplain
-rw-r--r--088-redefine-macro-legitimate.c.expected5logstatsplain
-rw-r--r--089-redefine-macro-error.c224logstatsplain
-rw-r--r--089-redefine-macro-error.c.expected350logstatsplain
-rw-r--r--090-hash-error.c19logstatsplain
-rw-r--r--090-hash-error.c.expected47logstatsplain
-rw-r--r--091-hash-line.c355logstatsplain
-rw-r--r--091-hash-line.c.expected291logstatsplain
-rw-r--r--092-redefine-macro-error-2.c45logstatsplain
-rw-r--r--092-redefine-macro-error-2.c.expected111logstatsplain
-rw-r--r--093-divide-by-zero.c19logstatsplain
-rw-r--r--093-divide-by-zero.c.expected71logstatsplain
-rw-r--r--094-divide-by-zero-short-circuit.c572logstatsplain
-rw-r--r--094-divide-by-zero-short-circuit.c.expected84logstatsplain
-rw-r--r--095-recursive-define.c44logstatsplain
-rw-r--r--095-recursive-define.c.expected10logstatsplain
-rw-r--r--096-paste-twice.c70logstatsplain
-rw-r--r--096-paste-twice.c.expected15logstatsplain
-rw-r--r--097-paste-with-non-function-macro.c46logstatsplain
-rw-r--r--097-paste-with-non-function-macro.c.expected11logstatsplain
-rw-r--r--098-elif-undefined.c70logstatsplain
-rw-r--r--098-elif-undefined.c.expected17logstatsplain
-rw-r--r--099-c99-example.c383logstatsplain
-rw-r--r--099-c99-example.c.expected160logstatsplain
-rw-r--r--100-macro-with-colon.c76logstatsplain
-rw-r--r--100-macro-with-colon.c.expected39logstatsplain
-rw-r--r--101-macros-used-twice.c150logstatsplain
-rw-r--r--101-macros-used-twice.c.expected39logstatsplain
-rw-r--r--102-garbage-after-endif.c21logstatsplain
-rw-r--r--102-garbage-after-endif.c.expected84logstatsplain
-rw-r--r--103-garbage-after-else-0.c27logstatsplain
-rw-r--r--103-garbage-after-else-0.c.expected130logstatsplain
-rw-r--r--104-hash-line-followed-by-code.c19logstatsplain
-rw-r--r--104-hash-line-followed-by-code.c.expected19logstatsplain
-rw-r--r--105-multiline-hash-line.c48logstatsplain
-rw-r--r--105-multiline-hash-line.c.expected19logstatsplain
-rw-r--r--106-multiline-hash-if.c55logstatsplain
-rw-r--r--106-multiline-hash-if.c.expected16logstatsplain
-rw-r--r--107-multiline-hash-elif.c64logstatsplain
-rw-r--r--107-multiline-hash-elif.c.expected17logstatsplain
-rw-r--r--108-no-space-after-hash-version.c12logstatsplain
-rw-r--r--108-no-space-after-hash-version.c.expected58logstatsplain
-rw-r--r--109-no-space-after-hash-line.c7logstatsplain
-rw-r--r--109-no-space-after-hash-line.c.expected58logstatsplain
-rw-r--r--110-no-space-digits-after-hash-elif.c22logstatsplain
-rw-r--r--110-no-space-digits-after-hash-elif.c.expected60logstatsplain
-rw-r--r--111-no-space-operator-after-hash-if.c110logstatsplain
-rw-r--r--111-no-space-operator-after-hash-if.c.expected47logstatsplain
-rw-r--r--112-no-space-operator-after-hash-elif.c150logstatsplain
-rw-r--r--112-no-space-operator-after-hash-elif.c.expected52logstatsplain
-rw-r--r--113-line-and-file-macros.c430logstatsplain
-rw-r--r--113-line-and-file-macros.c.expected255logstatsplain
-rw-r--r--114-paste-integer-tokens.c420logstatsplain
-rw-r--r--114-paste-integer-tokens.c.expected139logstatsplain
-rw-r--r--115-line-continuations.c160logstatsplain
-rw-r--r--115-line-continuations.c.expected16logstatsplain
-rw-r--r--116-disable-line-continuations.c167logstatsplain
-rw-r--r--116-disable-line-continuations.c.expected20logstatsplain
-rw-r--r--117-line-continuation-and-non-continuation-backslash.c363logstatsplain
-rw-r--r--117-line-continuation-and-non-continuation-backslash.c.expected14logstatsplain
-rw-r--r--118-comment-becomes-space.c34logstatsplain
-rw-r--r--118-comment-becomes-space.c.expected16logstatsplain
-rw-r--r--119-elif-after-else.c45logstatsplain
-rw-r--r--119-elif-after-else.c.expected68logstatsplain
-rw-r--r--120-undef-builtin.c51logstatsplain
-rw-r--r--120-undef-builtin.c.expected258logstatsplain
-rw-r--r--121-comment-bug-72686.c10logstatsplain
-rw-r--r--121-comment-bug-72686.c.expected3logstatsplain
-rw-r--r--122-redefine-whitespace.c508logstatsplain
-rw-r--r--122-redefine-whitespace.c.expected188logstatsplain
-rw-r--r--123-garbage-after-else-1.c27logstatsplain
-rw-r--r--123-garbage-after-else-1.c.expected130logstatsplain
-rw-r--r--124-preprocessing-numbers.c849logstatsplain
-rw-r--r--124-preprocessing-numbers.c.expected190logstatsplain
-rw-r--r--125-es-short-circuit-undefined.c532logstatsplain
-rw-r--r--125-es-short-circuit-undefined.c.expected249logstatsplain
-rw-r--r--126-garbage-after-directive.c57logstatsplain
-rw-r--r--126-garbage-after-directive.c.expected129logstatsplain
-rw-r--r--127-pragma-empty.c148logstatsplain
-rw-r--r--127-pragma-empty.c.expected4logstatsplain
-rw-r--r--128-space-before-hash.c291logstatsplain
-rw-r--r--128-space-before-hash.c.expected129logstatsplain
-rw-r--r--129-define-non-identifier.c16logstatsplain
-rw-r--r--129-define-non-identifier.c.expected183logstatsplain
-rw-r--r--130-define-comment.c85logstatsplain
-rw-r--r--130-define-comment.c.expected12logstatsplain
-rw-r--r--131-eof-without-newline.c30logstatsplain
-rw-r--r--131-eof-without-newline.c.expected31logstatsplain
-rw-r--r--132-eof-without-newline-define.c8logstatsplain
-rw-r--r--132-eof-without-newline-define.c.expected55logstatsplain
-rw-r--r--133-eof-without-newline-comment.c51logstatsplain
-rw-r--r--133-eof-without-newline-comment.c.expected98logstatsplain
-rw-r--r--134-hash-comment-directive.c525logstatsplain
-rw-r--r--134-hash-comment-directive.c.expected84logstatsplain
-rw-r--r--135-duplicate-parameter.c57logstatsplain
-rw-r--r--135-duplicate-parameter.c.expected118logstatsplain
-rw-r--r--136-plus-plus-and-minus-minus.c170logstatsplain
-rw-r--r--136-plus-plus-and-minus-minus.c.expected105logstatsplain
-rw-r--r--137-expand-macro-after-period.c80logstatsplain
-rw-r--r--137-expand-macro-after-period.c.expected18logstatsplain
-rw-r--r--138-multi-line-comment-in-if-0.c106logstatsplain
-rw-r--r--138-multi-line-comment-in-if-0.c.expected14logstatsplain
-rw-r--r--139-define-without-macro-name.c100logstatsplain
-rw-r--r--139-define-without-macro-name.c.expected273logstatsplain
-rw-r--r--140-null-directive.c193logstatsplain
-rw-r--r--140-null-directive.c.expected10logstatsplain
-rw-r--r--141-pragma-and-__LINE__.c190logstatsplain
-rw-r--r--141-pragma-and-__LINE__.c.expected58logstatsplain
-rw-r--r--142-defined-within-macro.c1415logstatsplain
-rw-r--r--142-defined-within-macro.c.expected183logstatsplain
-rw-r--r--143-multiple-else.c43logstatsplain
-rw-r--r--143-multiple-else.c.expected65logstatsplain
-rwxr-xr-xglcpp-test2110logstatsplain
-rwxr-xr-xglcpp-test-cr-lf3353logstatsplain