diff options
author | Chris Forbes <[email protected]> | 2014-12-07 11:49:28 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-12-07 11:49:28 +1300 |
commit | 6b0196934509ac76293581f7ca69a3399ffb2e0a (patch) | |
tree | 6fc319e117bc21b733e725d1011f03705b6f3795 /src/glsl/glcpp | |
parent | b49a069bd3c96c8a144bb671863d0757fb421a07 (diff) |
glcpp: Fix `can not` to `cannot` in error message
Signed-off-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/glsl/glcpp')
-rw-r--r-- | src/glsl/glcpp/glcpp-parse.y | 2 | ||||
-rw-r--r-- | src/glsl/glcpp/tests/120-undef-builtin.c.expected | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index 287792439b5..9b1a4f40112 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -293,7 +293,7 @@ control_line_success: || strcmp("__VERSION__", $4) == 0 || strncmp("GL_", $4, 3) == 0) glcpp_error(& @1, parser, "Built-in (pre-defined)" - " macro names can not be undefined."); + " macro names cannot be undefined."); macro = hash_table_find (parser->defines, $4); if (macro) { diff --git a/src/glsl/glcpp/tests/120-undef-builtin.c.expected b/src/glsl/glcpp/tests/120-undef-builtin.c.expected index cdb9c29adfb..3b736df378e 100644 --- a/src/glsl/glcpp/tests/120-undef-builtin.c.expected +++ b/src/glsl/glcpp/tests/120-undef-builtin.c.expected @@ -1,6 +1,6 @@ -0:1(1): preprocessor error: Built-in (pre-defined) macro names can not be undefined. -0:2(1): preprocessor error: Built-in (pre-defined) macro names can not be undefined. -0:3(1): preprocessor error: Built-in (pre-defined) macro names can not be undefined. +0:1(1): preprocessor error: Built-in (pre-defined) macro names cannot be undefined. +0:2(1): preprocessor error: Built-in (pre-defined) macro names cannot be undefined. +0:3(1): preprocessor error: Built-in (pre-defined) macro names cannot be undefined. |