C++ Declaration error when building

Got this as my .h file and I’m getting the ‘error : Missing ‘,’ in Class declaration declaration specifier’

I’ve been through the code so many times I’m losing my mind, been through the forums and can’t find this error.

Any help appreciated, thanks

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "JumpCharacter.generated.h"

UCLASS(config-Game)
class TOYGAME_API AJumpCharacter : public ACharacter
{
	GENERATED_BODY()

	/** Camera boom positioning the camera behind the character */
	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Camera, meta = (AllowPrivateAccess = "true"))
	class USpringArmComponent* CameraBoom;

	/** Follow camera */
	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Camera, meta = (AllowPrivateAccess = "true"))
	class UCameraComponent* FollowCamera;

public:
	// Sets default values for this character's properties
	AJumpCharacter();

	/** Base turn rate, in deg/sec. Other scaling may affect final turn rate. */
	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Camera)
		float BaseTurnRate;

	/** Base look up/down rate, in deg/sec. Other scaling may affect final rate. */
	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Camera)
		float BaseLookUpRate;

	UFUNCTION()
		void OnStartJump();

	UFUNCTION()
		void OnStopJump();

protected:
	// Called when the game starts or when spawned
	virtual void BeginPlay() override;

	//sets the jump counter
	int JumpCounter = 0;

	//adds the double jump function
	bool bDo;

	//sets condition for first jump
	void MyDoOnce();

	//resets the jump counter
	void ResetMyDoOnce();


	/** Called for forwards/backward input */
	void MoveForward(float Value);

	/** Called for side to side input */
	void MoveRight(float Value);

	/**
	* Called via input to turn at a given rate.
	* @param Rate	This is a normalized rate, i.e. 1.0 means 100% of desired turn rate
	*/
	void TurnAtRate(float Rate);

	/**
	* Called via input to turn look up/down at a given rate.
	* @param Rate	This is a normalized rate, i.e. 1.0 means 100% of desired turn rate
	*/
	void LookUpAtRate(float Rate);

	/** Handler for when a touch input begins. */
	void TouchStarted(ETouchIndex::Type FingerIndex, FVector Location);

	/** Handler for when a touch input stops. */
	void TouchStopped(ETouchIndex::Type FingerIndex, FVector Location);

public:	
	// Called every frame
	virtual void Tick(float DeltaTime) override;

	// Called to bind functionality to input
	virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;

	/** Returns CameraBoom subobject **/
	FORCEINLINE class USpringArmComponent* GetCameraBoom() const { return CameraBoom; }
	/** Returns FollowCamera subobject **/
	FORCEINLINE class UCameraComponent* GetFollowCamera() const { return FollowCamera; }

	
};

You should have a look in the two header files too.

#include “GameFramework/Character.h”
#include “JumpCharacter.generated.h”

Check your Class Specifiers.

UCLASS(config-Game)
Should be

UCLASS(config=Game)

I had that same error today, it turned out to be a missing comma between some of the Class Specifiers.
Once I added the comma, it was good to go. I know the question is old, but I hope this helps someone with the same error.