1
# The contents of this file are subject to the terms of the Common Development
2
# and Distribution License (the License). You may not use this file except in
3
# compliance with the License.
5
# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
6
# or http://www.netbeans.org/cddl.txt.
8
# When distributing Covered Code, include this CDDL Header Notice in each file
9
# and include the License file at http://www.netbeans.org/cddl.txt.
10
# If applicable, add the following below the CDDL Header, with the fields
11
# enclosed by brackets [] replaced by your own identifying information:
12
# "Portions Copyrighted [year] [name of copyright owner]"
14
# The Original Software is NetBeans. The Initial Developer of the Original
15
# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
16
# Microsystems, Inc. All Rights Reserved.
20
########### tokens #############################################################
36
"ALPHANUMERIC-EDITED" |
265
"FOREGROUND-COLOUR" |
424
"PROCEDURE-POINTER" |
635
TOKEN:string:( "\"" [^ "\""]* "\"" )
637
[ "?" ":" "<" ">" "/" "*" "-" "+" "." "," "=" "{" "}" ";"
638
"(" ")" "[" "]" "!" "@" "#" "$" "%" "^" "&" "~" "|" "\\"
641
TOKEN:identifier:( ["a"-"z" "A"-"Z" "_"] ["a"-"z" "A"-"Z" "0"-"9" "_"]* )
642
TOKEN:number:( ( ["0"-"9"]+ ("." ["0"-"9"]*)? | "." ["0"-"9"]+) ("E" ("+" | "-" )? ["0"-"9"]+)? )
643
TOKEN:whitespace: ( [" " "\t" "\n" "\r"]* )
644
TOKEN:line_comment:( "*" [^ "\n" "\r"]* ["\n" "\r"]+ )
647
########### colors #############################################################
649
COLOR:line_comment: {
650
default_coloring:"comment";