Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2620 replace non existing comment non-terminal with description #2621

Merged
merged 1 commit into from
Jul 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions chapters/syntax.tex
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,18 @@ \subsection{Class Definition}\doublelabel{class-definition}

short-class-specifier :
IDENT "=" base-prefix type-specifier [ array-subscripts ]
[ class-modification ] comment
| IDENT "=" enumeration "(" ( [ enum-list ] | ":" ) ")" comment
[ class-modification ] description
| IDENT "=" enumeration "(" ( [ enum-list ] | ":" ) ")" description

der-class-specifier :
IDENT "=" der "(" type-specifier "," IDENT { "," IDENT } ")" comment
IDENT "=" der "(" type-specifier "," IDENT { "," IDENT } ")" description

base-prefix :
[ input | output ]

enum-list : enumeration-literal { "," enumeration-literal}

enumeration-literal : IDENT comment
enumeration-literal : IDENT description

composition :
element-list
Expand Down Expand Up @@ -143,10 +143,10 @@ \subsection{Class Definition}\doublelabel{class-definition}
[ inner ] [ outer ]
( class-definition | component-clause |
replaceable ( class-definition | component-clause )
[ constraining-clause comment ] )
[ constraining-clause description ] )

import-clause :
import ( IDENT "=" name | name [ ".*" | "." ( "*" | "{" import-list "}" ) ] ) comment
import ( IDENT "=" name | name [ ".*" | "." ( "*" | "{" import-list "}" ) ] ) description

import-list :
IDENT { "," IDENT }
Expand All @@ -173,7 +173,7 @@ \subsection{Component Clause}\doublelabel{component-clause}
component-declaration { "," component-declaration }

component-declaration :
declaration [ condition-attribute ] comment
declaration [ condition-attribute ] description

condition-attribute:
if expression
Expand Down Expand Up @@ -217,7 +217,7 @@ \subsection{Modification}\doublelabel{modification}
type-prefix type-specifier component-declaration1

component-declaration1 :
declaration comment
declaration description

short-class-definition :
class-prefixes short-class-specifier
Expand All @@ -238,7 +238,7 @@ \subsection{Equations}\doublelabel{equations1}
| connect-clause
| when-equation
| component-reference function-call-args )
comment
description

statement :
( component-reference ( ":=" expression | function-call-args )
Expand All @@ -249,7 +249,7 @@ \subsection{Equations}\doublelabel{equations1}
| for-statement
| while-statement
| when-statement )
comment
description

if-equation :
if expression then
Expand Down