13.07.2015 Views

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Linker Script Language8−78.3.2 LEXICAL SYNTAXThe following lexicon is used to describe the syntax of the Linker ScriptLanguage:A ::= BA ::= B CA ::= B | C 0|1 >=0 >=1= A is defined as B= A is defined as B and C; B is followed by C= A is defined as B or C= zero or one occurrence of B= zero of more occurrences of B= one of more occurrences of BIDENTIFIER = a character sequence starting with ’a’−’z’, ’A’−’Z’ or ’_’.Following characters may also be digits and dots ’.’STRING = sequence of characters not starting with \n, \r or \tDQSTRING = " STRING " (double quoted string)OCT_NUM = octal number, starting with a zero (06, 045)DEC_NUM = decimal number, not starting with a zero (14, 1024)HEX_NUM = hexadecimal number, starting with ’0x’ (0x0023, 0xFF00)OCT_NUM, DEC_NUM and HEX_NUM can be followed by a k (kilo), M(mega), or G (giga).Characters in bold are characters that occur literally. Words in italics arehigher order terms that are defined in the same or in one of the othersections.To write comments in LSL file, you can use the C style ’/* */’ or C++style ’//’.8.3.3 IDENTIFIERSarch_namebus_namecore_namederivative_namefile_namegroup_namemem_nameproc_namesection_namespace_namestack_namesymbol_name::= IDENTIFIER::= IDENTIFIER::= IDENTIFIER::= IDENTIFIER::= DQSTRING::= IDENTIFIER::= IDENTIFIER::= IDENTIFIER::= DQSTRING::= IDENTIFIER::= section_name::= DQSTRING• • • • • • • •

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!