glcpp: Fix `can not` to `cannot` in error message
authorChris Forbes <chrisf@ijw.co.nz>
Sat, 6 Dec 2014 22:49:28 +0000 (11:49 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 6 Dec 2014 22:49:28 +0000 (11:49 +1300)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/glcpp/glcpp-parse.y
src/glsl/glcpp/tests/120-undef-builtin.c.expected

index 287792439b5eb235e211d4057be559e122818db3..9b1a4f40112bb469d67ac4a5356a2268d276f157 100644 (file)
@@ -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) {
index cdb9c29adfbf91befaaf1ed6d7ea4b163fed5613..3b736df378e094fe2fdb22183b618d51a84869c1 100644 (file)
@@ -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.