From 675dab3b6db22cf52fcb16d12868ddafdd2735ff Mon Sep 17 00:00:00 2001 From: A Pottinger Date: Sun, 30 Jan 2022 09:40:06 -0800 Subject: [PATCH] Fix Processing.g4 use of tabs. --- .../src/processing/mode/java/preproc/Processing.g4 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/java/src/processing/mode/java/preproc/Processing.g4 b/java/src/processing/mode/java/preproc/Processing.g4 index ea7bb5696..20f9c828e 100644 --- a/java/src/processing/mode/java/preproc/Processing.g4 +++ b/java/src/processing/mode/java/preproc/Processing.g4 @@ -83,7 +83,7 @@ functionWithPrimitiveTypeName // adding support for "color" primitive primitiveType - : BOOLEAN + : BOOLEAN | CHAR | BYTE | SHORT @@ -91,8 +91,8 @@ primitiveType | LONG | FLOAT | DOUBLE - | colorPrimitiveType - ; + | colorPrimitiveType + ; colorPrimitiveType : 'color' @@ -116,14 +116,14 @@ literal // As parser rule so this produces a separate listener // for us to alter its value. hexColorLiteral - : HexColorLiteral - ; + : HexColorLiteral + ; // add color literal notations for // #ff5522 HexColorLiteral - : '#' (HexDigit HexDigit)? HexDigit HexDigit HexDigit HexDigit HexDigit HexDigit - ; + : '#' (HexDigit HexDigit)? HexDigit HexDigit HexDigit HexDigit HexDigit HexDigit + ; // hide but do not remove whitespace and comments