Skip to content
Merged
Show file tree
Hide file tree
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
16 changes: 8 additions & 8 deletions bootstrap/test/hocc/Hocc.expected
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
hocc: Parsing "./Hocc.hmh"
hocc: Generating APLR(1) specification
hocc: 5 precedences, 42 tokens, 48 non-terminals (2 starts), 158 productions
hocc: 7 precedences, 42 tokens, 48 non-terminals (2 starts), 158 productions
hocc: LR(1) item set compatibility: lr
hocc: Generating LR(1) item set closures (workq/total) 0/860
hocc: Generating 860 LR(1) states
hocc: Tracing automaton (.+=actions[+gotos])+.+.....+...+....+..+..+....+..+..+..+.+...+.++.+.+.++
hocc: Generating LR(1) item set closures (workq/total) 0/912
hocc: Generating 912 LR(1) states
hocc: Tracing automaton (.+=actions[+gotos])+.+.....+...+....+..+..+....+..+..+..+.+..+.+++.+++
hocc: 1 unreachable state
hocc: Reindexing 859 LR(1) states
hocc: Searching for remergeable states: 601/601
hocc: Remerging 601 LR(1) states
hocc: Reindexing 258 LR(1) states
hocc: Reindexing 911 LR(1) states
hocc: Searching for remergeable states: 648/652
hocc: Remerging 648 LR(1) states
hocc: Reindexing 263 LR(1) states
hocc: 0 unresolvable conflicts
hocc: Generating text report
hocc: Generating hocc report
Expand Down
16 changes: 9 additions & 7 deletions bootstrap/test/hocc/Hocc.expected.hmh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
hocc
neutral pCodeTlEpsilon
neutral pPrec < pCodeTlEpsilon
neutral pCIDENT
left pDOT
left pCOMMA < pCIDENT
Expand All @@ -13,7 +15,7 @@ hocc
token LEFT "left"
token RIGHT "right"
token NONASSOC "nonassoc"
token PREC "prec"
token PREC "prec" prec pPrec
token UIDENT
token CIDENT
token USCORE "_"
Expand Down Expand Up @@ -73,16 +75,16 @@ hocc
| CIDENT "." SymbolTypeQualifier
| epsilon
nonterm SymbolType ::= "of" SymbolTypeQualifier Uident
nonterm SymbolType0 ::=
| SymbolType
| epsilon
nonterm PrecRef ::=
| "prec" Uident
| epsilon
nonterm TokenAlias ::=
nonterm Alias ::=
| ISTRING
| epsilon
nonterm Token ::= "token" CIDENT TokenAlias SymbolType0 PrecRef
nonterm TokenType ::=
| SymbolType Code
| epsilon
nonterm Token ::= "token" CIDENT Alias TokenType PrecRef
nonterm Sep ::=
| LINE_DELIM
| ";"
Expand Down Expand Up @@ -119,7 +121,7 @@ hocc
nonterm CodeTl ::=
| Delimited CodeTl
| CodeToken CodeTl
| epsilon
| epsilon prec pCodeTlEpsilon
nonterm Code ::=
| Delimited CodeTl
| CodeToken CodeTl
Expand Down
Loading
Loading