Commit c28982f
committed
Registry + parser fixes: shader() ptr overload, looksLikeTemplateArgList, fn-ptr disambiguation
Parser:
- looksLikeTemplateArgList: parenDepth going negative now returns false immediately,
fixing val<lo) being misidentified as template args in if-condition expressions
- looksLikeFunctionPointerDeclarator: (*name) without following ( or [ is NOT a
function pointer (fixes shader(*noiseShader) misparse)
- parseClassMember: trailing requires clause after template<> consumed before member
CodeGen:
- PostfixExpr ++/-- normalized to prefix form (Rule C)
- Float literals get f suffix (Rule D)
CppBuild:
- fixColorTypes: skip single-letter vars and loop counters from color rewrite (Rule F)
- E0006: skip single-letter and two-letter-lowercase identifiers
- E0007: warn on 'color' variable name collision
- translate(0,0) no-op removal (Problem 7.2)
- checkForProcessingNameCollisions added
Processing.h:
- shader(PShader*), texture(PImage*), addChild(PShape*) pointer overloads
- PShader::set() double overloads for 1-4 args1 parent a98c73e commit c28982f
3 files changed
Lines changed: 57 additions & 8 deletions
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
1023 | 1029 | | |
1024 | 1030 | | |
1025 | 1031 | | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
1026 | 1035 | | |
1027 | 1036 | | |
1028 | 1037 | | |
1029 | 1038 | | |
1030 | 1039 | | |
| 1040 | + | |
1031 | 1041 | | |
1032 | 1042 | | |
1033 | 1043 | | |
| |||
2459 | 2469 | | |
2460 | 2470 | | |
2461 | 2471 | | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
2462 | 2498 | | |
2463 | 2499 | | |
2464 | 2500 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
873 | 880 | | |
874 | 881 | | |
875 | 882 | | |
| |||
1117 | 1124 | | |
1118 | 1125 | | |
1119 | 1126 | | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
1123 | 1127 | | |
1124 | 1128 | | |
1125 | | - | |
1126 | | - | |
| 1129 | + | |
| 1130 | + | |
1127 | 1131 | | |
1128 | 1132 | | |
1129 | 1133 | | |
| |||
2048 | 2052 | | |
2049 | 2053 | | |
2050 | 2054 | | |
2051 | | - | |
2052 | | - | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
2053 | 2066 | | |
2054 | 2067 | | |
2055 | 2068 | | |
| |||
2789 | 2802 | | |
2790 | 2803 | | |
2791 | 2804 | | |
2792 | | - | |
| 2805 | + | |
2793 | 2806 | | |
2794 | 2807 | | |
2795 | 2808 | | |
| |||
0 commit comments