# HG changeset patch # User Richard M. Stallman # Date 757802003 0 # Node ID 8cbae747a768b3272979a960deeb25d8be6ae7e7 # Parent 0af9674da8503c02ecd7e382f0faf5b5d1e27d1f (describe_syntax): Handle Sinherit. (syntax_code_spec, syntax_spec_code): Add entry for @ and Sinherit. diff -r 0af9674da850 -r 8cbae747a768 src/syntax.c --- a/src/syntax.c Wed Jan 05 20:33:02 1994 +0000 +++ b/src/syntax.c Wed Jan 05 20:33:23 1994 +0000 @@ -197,7 +197,7 @@ 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, (char) Scomment, 0377, (char) Sendcomment, 0377, - 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, /* @, A, ... */ + (char) Sinherit, 0377, 0377, 0377, 0377, 0377, 0377, 0377, /* @, A ... */ 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, 0377, (char) Sword, 0377, 0377, 0377, 0377, (char) Sescape, 0377, 0377, (char) Ssymbol, @@ -209,9 +209,9 @@ /* Indexed by syntax code, give the letter that describes it. */ -char syntax_code_spec[13] = +char syntax_code_spec[14] = { - ' ', '.', 'w', '_', '(', ')', '\'', '\"', '$', '\\', '/', '<', '>' + ' ', '.', 'w', '_', '(', ')', '\'', '\"', '$', '\\', '/', '<', '>', '@' }; DEFUN ("char-syntax", Fchar_syntax, Schar_syntax, 1, 1, 0, @@ -241,7 +241,7 @@ \" string quote. \\ escape.\n\ $ paired delimiter. ' expression quote or prefix operator.\n\ < comment starter. > comment ender.\n\ - / character-quote.\n\ + / character-quote. @ inherit from `standard-syntax-table'.\n\ \n\ Only single-character comment start and end sequences are represented thus.\n\ Two-character sequences are represented as described below.\n\ @@ -420,6 +420,8 @@ insert_string ("comment"); break; case Sendcomment: insert_string ("endcomment"); break; + case Sinherit: + insert_string ("inherit"); break; default: insert_string ("invalid"); return;