dead code elimination for JS backend; JS improvements (but doesn't work yet)
This commit is contained in:
parent
2900ceae35
commit
ee1bcb6414
7 changed files with 213 additions and 104 deletions
|
|
@ -246,7 +246,7 @@ const
|
|||
errWrongNumberOfArguments: "wrong number of arguments",
|
||||
errXCannotBePassedToProcVar: "\'$1\' cannot be passed to a procvar",
|
||||
errXCannotBeInParamDecl: "$1 cannot be declared in parameter declaration",
|
||||
errPragmaOnlyInHeaderOfProc: "pragmas are only in the header of a proc allowed",
|
||||
errPragmaOnlyInHeaderOfProc: "pragmas are only allowed in the header of a proc",
|
||||
errImplOfXNotAllowed: "implementation of \'$1\' is not allowed",
|
||||
errImplOfXexpected: "implementation of \'$1\' expected",
|
||||
errNoSymbolToBorrowFromFound: "no symbol to borrow from found",
|
||||
|
|
@ -270,7 +270,7 @@ const
|
|||
errInvalidParamKindX: "invalid param kind: \'$1\'",
|
||||
errDefaultArgumentInvalid: "default argument invalid",
|
||||
errNamedParamHasToBeIdent: "named parameter has to be an identifier",
|
||||
errNoReturnTypeForX: "no return type for $1 allowed",
|
||||
errNoReturnTypeForX: "no return type allowed for $1",
|
||||
errConvNeedsOneArg: "a type conversion needs exactly one argument",
|
||||
errInvalidPragmaX: "invalid pragma: $1",
|
||||
errXNotAllowedHere: "$1 not allowed here",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue