File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ const compoundAdjectiveDefinition = checkedSequence(
413
413
. map ( ( adjectives ) => ( { type : "compound adjective" , adjectives } ) )
414
414
. filterWithPositionedError ( ( { adjectives } ) =>
415
415
adjectives . every ( ( adjective ) => adjective . adverbs . length === 0 ) ||
416
- throwError ( "compound adjective cannot have adverb " )
416
+ throwError ( "compound adjective cannot have adverbs " )
417
417
) ;
418
418
const verbDefinition = checkedSequence (
419
419
sequence (
Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ export const NANPA_RULES: ReadonlyArray<(nanpa: Nanpa) => boolean> = [
33
33
type !== "x ala x" ||
34
34
throwError ( new UnrecognizedError ( '"nanpa ala nanpa"' ) ) ,
35
35
36
- // nanpa construction cannot contain preposition
36
+ // nanpa construction cannot contain prepositions
37
37
( { phrase : { type } } ) =>
38
38
type !== "preposition" ||
39
39
throwError ( new UnrecognizedError ( "preposition inside nanpa" ) ) ,
40
40
41
- // nanpa construction cannot contain preverb
41
+ // nanpa construction cannot contain preverbs
42
42
( { phrase : { type } } ) =>
43
43
type !== "preverb" ||
44
44
throwError ( new UnrecognizedError ( "preverb inside nanpa" ) ) ,
@@ -59,7 +59,7 @@ export const NANPA_RULES: ReadonlyArray<(nanpa: Nanpa) => boolean> = [
59
59
( { phrase : { emphasis } } ) => emphasis == null ,
60
60
] ;
61
61
export const MODIFIER_RULES : ReadonlyArray < ( modifier : Modifier ) => boolean > = [
62
- // pi cannot contain preposition
62
+ // pi cannot contain prepositions
63
63
( modifier ) =>
64
64
modifier . type !== "pi" || modifier . phrase . type !== "preposition" ||
65
65
throwError ( new UnrecognizedError ( "preposition inside pi" ) ) ,
You can’t perform that action at this time.
0 commit comments