]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/c-exp.y
gdb: fix unknown variable typo in c-exp.y
[thirdparty/binutils-gdb.git] / gdb / c-exp.y
index 87aca4d59b1e984a169a9acc219d160437d8a2cd..5db63551d218f0c7c2e2c419dcb857724395321c 100644 (file)
@@ -3430,7 +3430,7 @@ c_print_token (FILE *file, int type, YYSTYPE value)
     case CHAR:
     case STRING:
       parser_fprintf (file, "tsval<type=%d, %.*s>", value.tsval.type,
-                     value.tsval.length, val.tsval.ptr);
+                     value.tsval.length, value.tsval.ptr);
       break;
 
     case NSSTRING: