08070f6f65
Previously, the Type's fOffset was set to -1 during parsing, so any errors related to the Type would be reported on line 1. Change-Id: I9834f733bc763c5946b3ff81d8aef4807cdc13d1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/335584 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
6 lines
119 B
GLSL
6 lines
119 B
GLSL
### Compilation failed:
|
|
|
|
error: 2: symbol 'x' was already defined
|
|
error: 5: symbol 'main' was already defined
|
|
2 errors
|